| 1 | README for mysql 5.7.xx |
| 2 | |
| 3 | REQUIREMENTS |
| 4 | |
| 5 | PRE-INSTALL |
| 6 | Run the included pre-install script to create a new |
| 7 | user/group mysql. |
| 8 | |
| 9 | POST-INSTALL |
| 10 | 1. run 'mysql_install_db' to build the system database |
| 11 | in /var/lib/mysql |
| 12 | 2. run 'mysql_upgrade' to add new privileges and features |
| 13 | to the MySQL privilege tables if you have databases |
| 14 | created with older versions of mysql |
| 15 | 3. Set a password for the mysql root user: |
| 16 | mysqladmin -u root password <mysql_root_password> |
| 17 | |
| 18 | PRECAUTION |
| 19 | 1. With the default configuration networking support for |
| 20 | mysql is disabled, meaning the mysql daemon is accessable |
| 21 | from localhost only. |
| 22 | To add networking support comment out the 'skip-networking' |
| 23 | line in /etc/my.cnf. |
| 24 | 2. If you upgrade from mysql 5.6.x you must recompile the |
| 25 | other packages on your system that are linked against the |
| 26 | mysql client libraries (libmysqlclient). |
| 27 | To obtain such a list of packages for your system, you |
| 28 | may use the command 'prt-get dependent mysql' or use yapo |
| 29 | to list the packages. |
| 30 | |