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

Re: [cobalt-developers] Re: RaQ 550 & mysql



This is a problem we ran into just this past weekend as we started to work on a mysql application. Believe it or not what you need to do is fix the location referred to in php.ini
on our Raq550 we changed it to:

mysql.default_socket = /var/lib/mysql/mysql.sock

You can find out where the file is by executing

thank standard php.ini file has

/tmp/mysql.sock
so that is the reason for the error.

You can execute :
        mysqladmin variables -pyourpassword
and this will give you where the file is located.

Hope this helps.



At 03:57 PM 6/4/2003 -0700, you wrote:

[root /]# /etc/rc.d/init.d/mysql stop
Killing mysqld with pid 1226
[root /]# /etc/rc.d/init.d/mysql start
[root /]# Starting mysqld daemon with databases from /var/lib/mysql
[root /]#

Sill receiving error:


Error

MySQL said:

Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)




At 12:48 AM 6/5/2003 +0200, you wrote:
I wrote some error in my last email, i used the SuSE-notation.
On a RaQ you stop mysql with:
/etc/rc.d/init.d/mysql stop
And start mysql with:
/etc/rc.d/init.d/mysql start

Raq Admin writes:
Brand new RAQ user.
When I attempt to access mysql through browser for virtual sites I get the following error.
Error
MySQL said:

Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

Any help is greatly appreciated.
Thanks
GNH
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers


--
---------------------
Ingenieurbüro Münter
Jörg Jan Münter
Leipziger Straße 16
38165 Wendhausen
info@xxxxxxxxxxx
Tel: 05309 - 8052
Fax: 05309 - 8053
---------------------
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers

_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers

Phillip Avelar
Manufacturing / Distribution Logistics
Advanced Logistics Systems, Inc
http://www.adv-logistics.com