Additions:
==Secure==
Secure your mysql root account(s) by setting a root password, delete anonymous users and test databases
==Tune==
Chose an appropriate my.cnf from /usr/share/doc/mysql-server
# pwd
/usr/share/doc/mysql-server-5.0.77
# ls -l
total 52
-rw-r--r-- 1 root root 4972 Jan 29 2010 my-huge.cnf
-rw-r--r-- 1 root root 20970 Jan 29 2010 my-innodb-heavy-4G.cnf
-rw-r--r-- 1 root root 4948 Jan 29 2010 my-large.cnf
-rw-r--r-- 1 root root 4955 Jan 29 2010 my-medium.cnf
-rw-r--r-- 1 root root 2526 Jan 29 2010 my-small.cnf
Secure your mysql root account(s) by setting a root password, delete anonymous users and test databases
==Tune==
Chose an appropriate my.cnf from /usr/share/doc/mysql-server
# pwd
/usr/share/doc/mysql-server-5.0.77
# ls -l
total 52
-rw-r--r-- 1 root root 4972 Jan 29 2010 my-huge.cnf
-rw-r--r-- 1 root root 20970 Jan 29 2010 my-innodb-heavy-4G.cnf
-rw-r--r-- 1 root root 4948 Jan 29 2010 my-large.cnf
-rw-r--r-- 1 root root 4955 Jan 29 2010 my-medium.cnf
-rw-r--r-- 1 root root 2526 Jan 29 2010 my-small.cnf
Deletions:
first change root password, delete anonymous users and test databases
Additions:
first change root password, delete anonymous users and test databases
0)
# /usr/bin/mysql_secure_installation
0)
# /usr/bin/mysql_secure_installation
Additions:
$ /usr/bin/mysqladmin -h yoursvr.yourdom -u root -p password 'new-password'
Deletions:
Enter password: <youy created in step 1 !>
Additions:
1)
2)
$ /usr/bin/mysqladmin -h mysvr.mydom -u root -p password 'new-password'
Enter password: <youy created in step 1 !>
2)
$ /usr/bin/mysqladmin -h mysvr.mydom -u root -p password 'new-password'
Enter password: <youy created in step 1 !>
Deletions:
Deletions:
$ cd sql-bench
$ perl run-all-tests
Additions:
==SECURE mysql root account(s)==
localhost
yoursvr.yourdom
$ /usr/bin/mysqladmin -u root -h mysvr.mydom password 'new-password'
----
REFERRERS
{{backlinks}}
localhost
yoursvr.yourdom
$ /usr/bin/mysqladmin -u root -h mysvr.mydom password 'new-password'
----
REFERRERS
{{backlinks}}
Deletions:
$ /usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
Additions:
$ /usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'