opt/mysql/README

31 lines
1.0 KiB
Plaintext

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