Bug #3670 | Unable to start service on Windows 2000 SP4 | ||
---|---|---|---|
Submitted: | 5 May 2004 23:46 | Modified: | 6 May 2004 22:47 |
Reporter: | Darrell Duffy | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S2 (Serious) |
Version: | 4.0.18 | OS: | Windows (Windows 2000 SP4) |
Assigned to: | CPU Architecture: | Any |
[5 May 2004 23:46]
Darrell Duffy
[6 May 2004 15:32]
MySQL Verification Team
Verify your \winnt\my.ini or c:\my.cnf for to have the keys set like showed below: C:\Arquivos de programas\mysql\bin>mysqld --install Service successfully installed. C:\Arquivos de programas\mysql\bin>type d:\win\my.ini [mysqld] basedir="c:/arquivos de programas/mysql" datadir="c:/arquivos de programas/mysql/data" C:\Arquivos de programas\mysql\bin>net start mysql O serviço de MySQL está sendo iniciado. O serviço de MySQL foi iniciado com êxito. C:\Arquivos de programas\mysql\bin>mysql -uroot Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.0.18-max-debug Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql>
[6 May 2004 17:55]
Darrell Duffy
Thanks very much. Apparently the installer does not create the my.ini file. I created it in C:\WINNT\ and added the three lines as suggested and all is well. Apparently the installer should create this file and populate it as indicated. djd
[6 May 2004 22:47]
Sergei Golubchik
Usually, MySQL does not require mi.ini file, and works with default settings, that's why the installer does not create it. My guess is that you installed MySQL in non-standard location so that built-in defaults do not work. In this case you need mi.ini.