John Beck on Thu, 7 Jun 2001 18:50:04 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Help needed with MySql database



> Hi.
>
> I'm not running RH7.1 but see if this helps:
>
> if there is a file called /etc/rc.d/init.d/mysqld
>
> try: /etc/rc.d/init.d/mysql start
>

Yes, there is that file, however when I run the command you suggest, I just
get a command not found error...  Any other suggestions would be great!

Here is where I stand so far...

When typing service mysql start I get the message:
bash: service: command not found

When trying to start the mysql daemon from the /usr/bin/safe_mysqld &
command, as the manual indicates, I get a message saying:
Starting mysqld daemon with databases from /var/lib/mysql
010607 15:12:08 mysqld ended

This is where I get hung up, with the cursor just sitting after the 'mysqld
ended' message. It will sit here for hours, unless I intervene. If I just
press the enter key once, I get the following message:
[1]+ Done      /user/bin/safe_mysqld

Then, if I start the mysqladmin tool, and use the 'ping' parameter, which
according to the manual will tell that mysql is alive, I get:
mysqladmin: connect to server at localhost failed
error: 'Can't connect to local MySql server through socket
'/var/lib/mysql/mysql.sock' (111)'
Check that mysqld is running, and that the socket:
'/var/lib/mysql/mysql.sock' exists!

If I look in the /var/lib/mysql/ directory, there is in fact a file named
mysql.sock, so I don't think that's the problem. For some reason, nothing I
try will get the server started...

I checked the documentation again, and can't find this problem listed at
all, so again I am asking for help!



______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug