Installing MySQL on Linux Using Generic Binaries
Installing MySQL on Linux Using Generic Binaries
- Create a mysql User and Group.
groupadd mysql |
- Obtain and Unpack the Distribution.
cd /usr/local |
- Create directories and grant permissions.
cd mysql |
- Create my.cnf configuration file.
cp -a /etc/my.cnf /etc/my.cnf_`date +%F` |
- Starting the MySQL Server.
bin/mysqld --initialize --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data |
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.