opt/mysql/README

31 lines
1.0 KiB
Plaintext
Raw Normal View History

2018-03-19 13:00:27 +01:00
README for mysql 5.7.xx
2006-02-23 16:26:10 +01:00
REQUIREMENTS
PRE-INSTALL
2009-06-13 23:15:46 +02:00
Run the included pre-install script to create a new
user/group mysql.
2006-02-23 16:26:10 +01:00
POST-INSTALL
2018-03-19 13:00:27 +01:00
1. run 'mysql_install_db' to build the system database
2006-02-23 16:26:10 +01:00
in /var/lib/mysql
2018-03-19 13:00:27 +01:00
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
2018-03-19 13:00:27 +01:00
3. Set a password for the mysql root user:
2006-02-23 16:26:10 +01:00
mysqladmin -u root password <mysql_root_password>
PRECAUTION
2006-02-23 16:26:10 +01:00
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.
2018-03-19 13:00:27 +01:00
2. If you upgrade from mysql 5.6.x you must recompile the
2006-02-23 16:26:10 +01:00
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.