Re: I can't start MySQL from the Windows Command Line
On Fri, 9 Dec 2005 15:48:04 +0100, "Pat Serrand"
<pat-serrand@wanadoo.fr> wrote:
>Hello,
>
>Mysql is running on Windows 98 SE.
>
>With previous versions of mysql I can start mysql from the command line
>with:
>C:\> C:Mysql\bin\mysqld
>
>Now with version 5.0.16 this command don't start mysql and I can't use "net
>start ..." with windows 98.
>
>The command C:\> C:Mysql\bin\mysqld --defaults-file="..." don't start mysql.
>All commands return : "[Error] Can't find messagefile 'C:\Program
>Files\MySQL\MySQL Server 5.0\share\english\errmsg.sys'"
>
>I checked this file : errmsg.sys exists in C:\Program Files\MySQL\MySQL
>Server 5.0\share\english.
>
>The same thing occurs if I add the MySQL path in Autoexec.bat.
>
>thanks for your help.
>
>NB: Here is my my.ini:
..ini contains:
basedir="C:/Program Files/MySQL/MySQL Server 5.0/"
and it appears to be searching there indeed.
Is that really the directory where you installed MySQL ?
I would prefer to install in a directory without spaces in their
name, as you did before: C:/Mysql/
It _shouldn't_ be a problem, but in practice it often is.
You could try to uninstall, and reinstall in C:/bin/mysql/ or
C:/bin/dbms/mysql/mysql0500/
I use /bin/<productgroup>/<productname>/ as the installation
path for software that lets me choose, instead of 'Program
Files'.
Use a .cmd script to avoid typing the long directory name
everytime, or add it to your PATH environment string.
Hope this helps,
--
( Kees
)
c[_] It is better to remain silent and be thought a fool,
than to speak aloud and remove all doubt. (#205)
|