Contents
  1. 1. MySQL在Mac上无法启动
  2. 2. 链接问题

MySQL在Mac上无法启动

warning: The /usr/local/mysql/data directory is not owned by the ‘mysql’ or ‘_mysql’ user.

如图:

解决办法:

sudo chown -R _mysql:wheel /usr/local/mysql/data

重新启动MySQL即可。

链接问题

1
2
3
# use xxDB 时 提示如下:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

可能数据库存储的数据太大. 在链接时 使用 -A 参数, 禁止预读已存储的大量信息即可 加快访问速度.


    
        
        版权声明:
        本文由Lomo创作和发表,采用署名(BY)-非商业性使用(NC)-相同方式共享(SA)国际许可协议进行许可,
        转载请注明作者及出处,本文作者为Lomo,本文标题为mysql start issue.
    
    


 Leave a message ^_^:

Contents
  1. 1. MySQL在Mac上无法启动
  2. 2. 链接问题