Hi,
I have some problem with starting mysql (5.5.10) on FreeBSD 8.1.
When I try to start:
[CMD=]/usr/local/etc/rc.d/mysql-server start[/CMD]
[CMD=]/usr/local/etc/rc.d/mysql-server status[/CMD]
If I try this:
[CMD=]/usr/local/bin/mysqld_safe &[/CMD]
So it seems to run on my server, but:
If I try to connect with localhost information:
What's wrong? It's seems to work, but not 100 %.
reppa
I have some problem with starting mysql (5.5.10) on FreeBSD 8.1.
When I try to start:
[CMD=]/usr/local/etc/rc.d/mysql-server start[/CMD]
Code:
Starting mysql.
Code:
mysql is not running.
If I try this:
[CMD=]/usr/local/bin/mysqld_safe &[/CMD]
Code:
110411 19:45:20 mysqld_safe Logging to '/home/db/hostname.err'. grep: grep: grep"74174: No such file or directory: No such file or
directory
grep: ": No such file or directory
110411 19:45:20 mysqld_safe Starting mysqld daemon with databases from /home/db
Code:
# ps -auwx | grep mysql
root 73915 0.0 0.5 3628 1180 1 I 7:36PM 0:00.04 /bin/sh /usr/local/bin/mysqld_safe
mysql 74174 0.0 32.1 605508 79904 1 I 7:36PM 0:00.60 [mysqld]
So it seems to run on my server, but:
Code:
mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
If I try to connect with localhost information:
Code:
mysql -h 127.0.0.1 -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
...
What's wrong? It's seems to work, but not 100 %.
reppa