Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I hope this work for you.</p> <p>After checking the error log, I found this:</p> <pre><code>120309 17:42:49 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data 120309 17:42:50 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/mysql/data/ is case insensitive 120309 17:42:50 [Warning] You need to use --log-bin to make --binlog-format work. 120309 17:42:50 [Note] Plugin 'FEDERATED' is disabled. 120309 17:42:50 InnoDB: The InnoDB memory heap is disabled 120309 17:42:50 InnoDB: Mutexes and rw_locks use GCC atomic builtins 120309 17:42:50 InnoDB: Compressed tables use zlib 1.2.3 120309 17:42:50 InnoDB: Initializing buffer pool, size = 16.0M 120309 17:42:50 InnoDB: Completed initialization of buffer pool 120309 17:42:50 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 /usr/local/mysql/data/ib_logfile0 InnoDB: File operation call: 'open'. InnoDB: Cannot continue operation. 120309 17:42:50 mysqld_safe mysqld from pid file /usr/local/mysql/data/lu1s.local.pid ended </code></pre> <p>And to solve it, I gave ownership rights to the entire mysql folder:</p> <pre><code>cd /usr/local sudo chown mysql mysql sudo chown mysql mysql-5.5.21-osx10.6-x86_64 sudo chown _mysql mysql sudo chown _mysql mysql-5.5.21-osx10.6-x86_64 </code></pre> <p>Then (you can do it command-line too), I applied the permissions (once I gave that ownership to <strong>_mysql</strong> and <strong>mysql</strong> users) to all enclosed folders from within the "get info" menu of the folder at <strong>/usr/local/mysql-5.5.21-osx10.6-x86_64</strong> . You don't need to tho that to the alias since it's only an alias.</p> <p>The name of the folder depends of the installation version of mysql that you have.</p>
 

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