When upgrading MySQL under Windows, please follow these steps:
NET STOP mysql
if you
are running MySQL as a service, or with mysqladmin shutdown
otherwise).
WinMySQLadmin
program if it is running.
C:\mysql4
. Overwriting the old installation is recommended.
basedir
parameter in the `my.ini' file of your Windows
directory (for example, C:\WINNT
).
NET START mysql
if you run MYSQL
as a service, or by invoking mysqld
directly otherwise).
Possible error situations:
A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly.
This cryptic error means that your `my.cnf' file (by default `C:\my.cnf') contains an option that cannot be recognised by MySQL. You can verify that this is the case by trying to restart MySQL with the `my.cnf' file renamed, for example, to `my.cnf.old' to prevent the server from using it. Once you have verified it, you need to identify which option is the culprit. Create a new `my.cnf' file and move parts of the old file to it (restarting the server after you move each part) until you determine which part causes server startup to fail.
Posted by [name withheld] on Wednesday April 30 2003, @5:56am | [Delete] [Edit] |
On an XP OS with the database instaled to a NTFS partition
you'll get the error
---------
The MySql service is starting.
The MySql service could not be started.
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
--------
To resolve the problem give full acces permisions to the user SYSTEM on the directory where database it's installed
Posted by Sindar on Thursday May 8 2003, @3:36pm | [Delete] [Edit] |
I had the same problem.
Mysql --help showed the variables and stated:
d:\mysq ta\
the system couldn't find the files. (Of course, the location doesn't exist.
I changed all \ entries in the ini file into /
( d:/mysql/data etc.)
Works like a charm
Posted by Maurizio & Giorgio on Wednesday July 9 2003, @4:55pm | [Delete] [Edit] |
We had the same problem.
We solved it, deleting the file my.ini in c:\windows.