Hallo,
Ik probeer al enige tijd mysql te installeren op Jaunty.
Het lukt mij echter niet om hem te starten:
$ mysqld
100528 12:08:34 [Warning] option 'thread_stack': unsigned value 65536 adjusted to 131072
100528 12:08:34 [Warning] Can't create test file /var/lib/mysql/ubuntu.lower-test
100528 12:08:34 [Warning] Can't create test file /var/lib/mysql/ubuntu.lower-test
100528 12:08:34 [Note] Plugin 'InnoDB' disabled by command line option
mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
100528 12:08:34 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
100528 12:08:35 [ERROR] Can't create IP socket: Permission denied
100528 12:08:35 [ERROR] Aborting
100528 12:08:35 [Warning] Forcing shutdown of 2 plugins
100528 12:08:35 [Note] mysqld: Shutdown complete
En als ik mysql_upgrade uitvoer, dan krijg ik ook een error met een socket:
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Running 'mysqlcheck'...
mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) when trying to connect
FATAL ERROR: Upgrade failed
Er is dus iets mis met de socket o.i.d.
Maar wat?
En hoe kan ik dit oplossen.
Het gaat om mysql-server-5.0, maar 5.1 geeft hetzelfde probleem.
Bvd
Daan.