[MDEV-7527] mysql_upgrade fails Created: 2015-01-28 Updated: 2015-02-06 Due: 2015-02-23 Resolved: 2015-02-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Windows |
| Affects Version/s: | 10.0.16 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Ryan Smith | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows Server 2012 R2 |
||
| Description |
|
Updating from 10.0.15 to 10.0.16. Doing: mysql_upgrade -u root -p after upgrading the files and starting the server (no errors reported) FATAL ERROR: Failed to create temporary file for defaults This is a new error in 10.0.16, previous version upgrades worked correctly. This happens with the 64-bit version. I have not tested the 32-bit. |
| Comments |
| Comment by Elena Stepanova [ 2015-01-30 ] |
|
Could you please describe step by step how exactly you performed the server upgrade? |
| Comment by Ryan Smith [ 2015-01-30 ] |
|
I always use the ZIP version. I have the server running as a service. These are the steps: 1) Open a command prompt with administrator privileges Now with 10.0.16, it reports the error I described after entering the root password. This has worked correctly in all previous versions of mariaDB I've used and also MySQL before I switched to mariaDB. |
| Comment by Elena Stepanova [ 2015-02-02 ] |
|
Hi, Is the problem persistent? I tried to do the same, but couldn't reproduce it. Could you please provide your ini file or check yourself whether tmpdir is set there, and make sure that the tmpdir (either the configured one or the default one) is actually writable? |
| Comment by Ryan Smith [ 2015-02-06 ] |
|
I tried it on two other servers and it works correctly. I believe this can be closed. |
| Comment by Elena Stepanova [ 2015-02-06 ] |
|
According to the above note, closing as "Cannot Reproduce". If you have new information later, you can comment to re-open the report. |