Re: Need help with Install of MySQL
> I am new to MySQL and have just installed the MySQL rpm files to my Linux > box. > > I have run "mysql_install_db" with no problems and I have then run > "safe_mysqld &" this comes up with the messsage > > "starting mysql daemon with databses from /var/lib/mysql > > mysqld daemon ended" > > I assumed that this was corrected and then ran "mysqladmin version" to which > i recieved the following error message > > "can't connect to local mysql server through socket > /var/lib/mysql/mysql.sock (111) > > check that mysql is running and that the socket /var/lib/mysql/mysql.sock > exists" > > I can not find any mysql processes running when I type "ps" and I cannot > find any sock files anywhere. > > What am i doing wrong can somebody please please help. > Well I have the same problem and to solve it I run mysql with mysqld command"mysqld --sock=/var/lib/mysql/mysql.sock -uusername -p" option from command line (and it starts).Then I can connect with mysql and check with mysqladmin. Maybe someone have better solution of this problem? Regards Mariusz Brzezinski WBK SA tel. +48 61 856 53 57 mobile +48 501 623 123 - 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
Re: Need help with Install of MySQL
Matt, I'm fairly new to MySQL myself, but it sounds like your mysqld is not starting up when you issue safe_mysqld. Instead of invoking safe_mysqld directly, find the "mysql.server" file that got installed with mysql, and start mysqld with that by doing something like: cd /dir/to/mysql.server ./mysql.server start There's quite a bit more to consider, like what user you want to start the server as, but try that first and see if that will start the server for you. HTH. -- Hardy Merrill Mission Critical Linux, Inc. http://www.missioncriticallinux.com Matt Davis [[EMAIL PROTECTED]] wrote: > I am new to MySQL and have just installed the MySQL rpm files to my Linux > box. > > I have run "mysql_install_db" with no problems and I have then run > "safe_mysqld &" this comes up with the messsage > > "starting mysql daemon with databses from /var/lib/mysql > > mysqld daemon ended" > > I assumed that this was corrected and then ran "mysqladmin version" to which > i recieved the following error message > > "can't connect to local mysql server through socket > /var/lib/mysql/mysql.sock (111) > > check that mysql is running and that the socket /var/lib/mysql/mysql.sock > exists" > > I can not find any mysql processes running when I type "ps" and I cannot > find any sock files anywhere. > > What am i doing wrong can somebody please please help. > > Thanks > > > Matt Davis. > > > - > 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 - 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
Re: Need help with Install of MySQL
There'll be a .err file in your ~mysql/var directory - have a look at it, and it should give you a pointer as to the precise problem. regards, P On Fri, 9 Feb 2001, Matt Davis wrote: > I am new to MySQL and have just installed the MySQL rpm files to my Linux > box. > > I have run "mysql_install_db" with no problems and I have then run > "safe_mysqld &" this comes up with the messsage > > "starting mysql daemon with databses from /var/lib/mysql > > mysqld daemon ended" > > I assumed that this was corrected and then ran "mysqladmin version" to which > i recieved the following error message > > "can't connect to local mysql server through socket > /var/lib/mysql/mysql.sock (111) > > check that mysql is running and that the socket /var/lib/mysql/mysql.sock > exists" > > I can not find any mysql processes running when I type "ps" and I cannot > find any sock files anywhere. > > What am i doing wrong can somebody please please help. > > Thanks > > > Matt Davis. > > > - > 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 > > - 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
Need help with Install of MySQL
I am new to MySQL and have just installed the MySQL rpm files to my Linux box. I have run "mysql_install_db" with no problems and I have then run "safe_mysqld &" this comes up with the messsage "starting mysql daemon with databses from /var/lib/mysql mysqld daemon ended" I assumed that this was corrected and then ran "mysqladmin version" to which i recieved the following error message "can't connect to local mysql server through socket /var/lib/mysql/mysql.sock (111) check that mysql is running and that the socket /var/lib/mysql/mysql.sock exists" I can not find any mysql processes running when I type "ps" and I cannot find any sock files anywhere. What am i doing wrong can somebody please please help. Thanks Matt Davis. - 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