mysql在首次启动的时候可能会报错:Can’t open and lock privilege tables: Table ‘mysql.host’ doesn’t exist
这时候可以执行脚本 mysql_install_db –user=mysql –ldata=数据存放的路径