The mysql authorization table in windows and Linux is in Windows. After mysql is installed, you do not need to create a data directory and authorization table. A set of pre-initialized account authorization tables exist in the MySQL database under the Data Directory. Do not run the mysql_install_db script used in Unix. After installing MySQL on Unix, You need to initialize the authorization table, start the server, and ensure that the server works properly. Specify a password for the account in the authorization table. In Unix, www.2cto.com sets the authorization table by mysql_install_db. If the system is CentOS5, you only need to run # mysql_install_db -- user = mysql -- datadir =/var/lib/mysql_ndbd/to ensure that the mysql Logon account has the database directory and files, this allows the server to have read and write access permissions. Of course, you can also log on with mysqld_safe -- user = mysql -- skip-grant-tables & skip the authorization table, log on to it and re-grant permissions, and update the permission table: flush privileges