View previous topic :: View next topic |
Author |
Message |
thonot n00b
Joined: 14 Sep 2002 Posts: 16
|
Posted: Fri Jul 16, 2004 7:21 pm Post subject: mysql 4.0.20 dies on start |
|
|
When I start mysql usin /etc/init.d/mysql start
I get no errors
Code: | skids thonot # /etc/init.d/mysql start
* Starting mysqld... [ ok ]
skids thonot # |
But when I try to connect I get errors:
Code: | skids thonot # mysql
ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
|
And when I check /var/log/mysql/mysqld.err, it shows the following:
Code: | 040716 15:11:40 Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist
040716 15:11:40 Aborting
040716 15:11:40 /usr/sbin/mysqld: Shutdown Complete |
I also noticed that the directory: /var/lib/mysql/mysql is empty. _________________ Sometimes you just have to push things to there breaking point and let the pieces fall where they willl... |
|
Back to top |
|
|
vla_do Apprentice
Joined: 13 Mar 2004 Posts: 165
|
Posted: Fri Jul 16, 2004 7:41 pm Post subject: |
|
|
Code: | skids thonot # /usr/bin/mysql_install_db |
|
|
Back to top |
|
|
thonot n00b
Joined: 14 Sep 2002 Posts: 16
|
Posted: Sat Jul 17, 2004 12:44 am Post subject: |
|
|
Cool!
Thanks! _________________ Sometimes you just have to push things to there breaking point and let the pieces fall where they willl... |
|
Back to top |
|
|
LodBot Apprentice
Joined: 06 Sep 2003 Posts: 155
|
Posted: Sat Jul 17, 2004 3:00 am Post subject: |
|
|
vla_do wrote: | Code: | skids thonot # /usr/bin/mysql_install_db |
| I'm having the same exact problem and that didn't help. Any other ideas?
Thanks. |
|
Back to top |
|
|
|