bushous2 at msu.edu
Mon Apr 19 09:41:16 PDT 2004
I think you're actually trying to start the mysql client, which defaults
to attempt a connection localhost when no cmd arguments are given.
Since mysqld isn't running, the mysql client will complain about the
socket. If you're using mysql 4.x (mysql 3.x will be very similar,
except the daemon may be named safe_mysqld), try these steps:
> whereis mysqld_safe
then run as root the resulting path, for example, on my machine I would use
> /usr/local/bin/mysqld_safe &
that should work!
Peter Risdon wrote:
> ilich wrote:
>> Hello All!
>> I have small problem.
>> I installed apache2\php4\mysql. Apache and php work fine, but mysql
>> doesn't work. When I enter "mysql" to my console it send massage
>> "Can't connect to local MySQL server through socket
>> 'tmp/mysql.socket'". As far as I Know mysqld doesn't load to memory,
>> but I'm not sure.Please, give me any advices and explain me what does
>> mean this massage.
> You probably need to start mysql:
> #/usr/local/etc/rc.d/mysql-server.sh start
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions