进入安装目录,创建mysql权限表
使用basedir参数指出安装目录。本人安装路径为/usr/local/mysql
/usr/local/src/mysql-5.1.66/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data
进入安装目录,创建mysql权限表
使用basedir参数指出安装目录。本人安装路径为/usr/local/mysql
/usr/local/src/mysql-5.1.66/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data