[Wylug-help] mysql installation.

Douglas G Mckendrick douglasg.mckendrick at googlemail.com
Fri Aug 28 16:14:54 UTC 2009


Thanks for your reply.  Yes you are right, I got mysql_install_db to
work.  I'm running ubuntu 9.04 and installed mysql with synaptic.  I
believe it's v5.01.  But if I try and start mysqld with sudo I get the
following error:

laptop:~$ mysqld
090828 17:00:46 [Warning] Can't create test
file /var/lib/mysql/bones-laptop.lower-test
090828 17:00:46 [Warning] Can't create test
file /var/lib/mysql/bones-laptop.lower-test
090828 17:00:46 [Warning] One can only use the --user switch if running
as root

090828 17:00:46  InnoDB: Operating system error number 13 in a file
operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.

If I try it with /usr/sbin/mysqld --skip-grant & 


I get:  -laptop:~$ sudo /usr/sbin/mysqld --skip-grant &
[1] 4478
-laptop:~$ InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
090828 17:09:03  InnoDB: Retrying to lock the first data file
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11













More information about the Wylug-help mailing list