我有下面的php代码来连接到mysql。mysql_connect( "myserver.com" , "root", "redhat","datastore") or die(mysql_error()); Warning: mysql_connect(): Host '10.21.21.10' is not allowed to connect to this MySQL<
它适用于MySQL5.5,但如果我尝试将其更改为5.6,则会出现错误,并且安装不正确。有什么建议如何在Vagrant中从shell脚本安装mysql-server-5.6吗?这是我当前针对MySQL 5.5的脚本:The following extra packages will be installed: mysql-client-5.5