MySQL/Server

Installation
sudo yum install mysql-server sudo /sbin/service mysqld start
 * 1) sudo /usr/bin/mysql_secure_installation

Security
mysql -u root use mysql; truncate user; truncate db; grant all on *.* to root@localhost with grant option; flush privileges;

If you screw up: /usr/libexec/mysqld --skip-grant

mysql -u root use mysql; truncate user; truncate db; describe user; -- match columens insert into `user` VALUES('localhost','root',,'Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y',,,,'',0,0,0,0);
 * 1) in another window:
 * 1) kill and restart mysql