Ngu Nguyen wrote:
> Hi,
>
> I just finished installing mysql, but the only way I can start mysql is using
>"./configure" or "./bin/safe_mysqld". In the documentation it tells me to use
>"mysql.server start" but this command doesn't work. I was wondering if anyone could
>tell me what I am doing wrong.
>
> I am also wondering how I could get mysql running at startup. I have no clue on how
>to do this at all.
>
> I'd really appreciate your help.
>
> Thanks,
>
> Ngu
I just installed MySQL server and client (NetBSD) and after completing all the steps,
I tried to use "# mysql.server start" The process would start and end immediately.
I then tried "#mysqld &) and it started up and worked (I verified this by starting
mysql). Went
back and add -x to the shells in mysql.server and also to safe_mysql. Found that
while the install completed without error, the safe startup incorrectly defined the
location of the master db, causing mysqld to exit as the master files could not be
found. I modified the
start up to point to the correct directory, and mysql.server worked correctly. On
solaris I would add in rc3.d a simple start sym link that points back to init.d where
I would put mysql.server. Then you can have sym link pointing to init.d and start up
will add the
requisite "start".
Richard
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php