Date: Mon, 19 Apr 2004 12:41:11 -0400 From: Micah Bushouse <bushous2@msu.edu> To: Peter Risdon <peter@circlesquared.com> Cc: freebsd-questions@freebsd.org Subject: Re: MySQL Message-ID: <40840127.5040102@msu.edu> In-Reply-To: <4083FED9.1070605@circlesquared.com> References: <opr6hhnifjkmugx5@mail.onego.ru> <4083FED9.1070605@circlesquared.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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! ~Micah 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 > > PWR > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40840127.5040102>