Apache and MySQL won't start

Ali A Samii samii at me.com
Wed Jul 28 10:07:29 PDT 2010


OK, issued that command.

Took all of 2 seconds to execute.

Then I issued sudo port load mysql5-server

No problems

Then I tried sudo -u _mysql mysql_install_db5

This is the echo:

Installing MySQL system tables...
100728 19:04:58 [Warning] Can't create test file /opt/local/var/db/mysql5/alis-imac.lower-test
100728 19:04:58 [Warning] Can't create test file /opt/local/var/db/mysql5/alis-imac.lower-test
100728 19:04:58 [ERROR] /opt/local/libexec/mysqld: Can't find file: './mysql/db.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/db.frm' (errno: 13)
100728 19:04:58 [ERROR] Aborting

100728 19:04:58 [Note] /opt/local/libexec/mysqld: Shutdown complete



On 28 Jul, 2010, at 19:03 , Ryan Schmidt wrote:

> 
> On Jul 28, 2010, at 11:58, Ali A Samii wrote:
> 
>> I issued the following command to install mysqk5
>> 
>> sudo port install mysql5 +server
> 
> The mysql5 does not have a variant called +server. It used to, years ago, but now, you should install the separate mysql5-server port.
> 
> sudo port install mysql5-server
> 
> 
> 



More information about the macports-users mailing list