Note that there are some explanatory texts on larger screens.

plurals
  1. POInstalling MySQL on Snow Leopard using MacPorts
    primarykey
    data
    text
    <p>I am trying to install MySQL5 on Snow Leopard, but I am having some trouble. Here is my terminal log:</p> <pre><code>users-MacBook-Pro:~ sam$ sudo port install mysql5Password: ---&gt; Computing dependencies for mysql5 ---&gt; Fetching mysql5 ---&gt; Verifying checksum(s) for mysql5 ---&gt; Extracting mysql5 ---&gt; Applying patches to mysql5 ---&gt; Configuring mysql5 ---&gt; Building mysql5 ---&gt; Staging mysql5 into destroot ---&gt; Installing mysql5 @5.1.53_0 The MySQL client has been installed. If you also want a MySQL server, install the mysql5-server port. ---&gt; Activating mysql5 @5.1.53_0 ---&gt; Cleaning mysql5 users-MacBook-Pro:~ sam$ sudo port install mysql5-server Password: ---&gt; Computing dependencies for mysql5-server ---&gt; Fetching mysql5-server ---&gt; Verifying checksum(s) for mysql5-server ---&gt; Extracting mysql5-server ---&gt; Configuring mysql5-server ---&gt; Building mysql5-server ---&gt; Staging mysql5-server into destroot ---&gt; Creating launchd control script ########################################################### # A startup item has been generated that will aid in # starting mysql5-server with launchd. It is disabled # by default. Execute the following command to start it, # and to cause it to launch at startup: # # sudo port load mysql5-server ########################################################### ---&gt; Installing mysql5-server @5.1.53_0 ****************************************************** * In order to setup the database, you might want to run * sudo -u _mysql mysql_install_db5 * if this is a new install ****************************************************** ---&gt; Activating mysql5-server @5.1.53_0 ---&gt; Cleaning mysql5-server users-MacBook-Pro:~ sam$ sudo chmod -Rf 777 /opt/local/var/db/mysql chmod: /opt/local/var/db/mysql: No such file or directory users-MacBook-Pro:~ sam$ sudo chmod -Rf 777 /opt/local/var/db/mysql5 users-MacBook-Pro:~ sam$ sudo -u _mysql mysql_install_db5 Installing MySQL system tables... ERROR: 1004 Can't create file '/var/tmp/#sqlf2ef_1_0.frm' (errno: 9) 110125 20:22:45 [ERROR] Aborting 110125 20:22:45 [Note] /opt/local/libexec/mysqld: Shutdown complete Installation of system tables failed! Examine the logs in /opt/local/var/db/mysql5 for more information. You can try to start the mysqld daemon with: shell&gt; /opt/local/libexec/mysqld --skip-grant &amp; and use the command line tool /opt/local/lib/mysql5/bin/mysql to connect to the mysql database and look at the grant tables: shell&gt; /opt/local/lib/mysql5/bin/mysql -u root mysql mysql&gt; show tables Try 'mysqld --help' if you have problems with paths. Using --log gives you a log in /opt/local/var/db/mysql5 that may be helpful. Please consult the MySQL manual section 'Problems running mysql_install_db', and the manual section that describes problems on your OS. Another information source are the MySQL email archives available at http://lists.mysql.com/. Please check all of the above before mailing us! And remember, if you do mail us, you MUST use the /opt/local/lib/mysql5/bin/mysqlbug script! </code></pre> <p>I have tried repairing the my disks permissions but nothing seems to work :( Would appreciate any advice on how to get MySQL up and running!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload