Here is my quick secure guide for MySQL:
- Rename root user account
- mysql -u root -p
- use mysql;
- update user set user=”mydbadmin” where user=”root”;
- flush privileges;
- Set the root password for database
- mysqladmin -u mydbadmin password ‘the-new-password’
- Drop default test database
- mysql -u mydbadmin -p
- drop database test;
- quit;
- Edit the MySQL server config
- vi /etc/my.cnf and under [mysqld]
- skip-networking <– Disables network access
- set-variable=local-infile=0 <– prevent against unauthorized reading from local files
- bind-address=127.0.0.1
- restart mysql /etc/init.d/mysqld restart
Tag
android apologetic apple catholic christian dating debian encryption geek God google howto iphone life linux love mac military nokia Personal phone poetry politics pope relationship relationships religion religious review running security tech Techie technology theology travel tweets twitter ubuntu UNIX video vintage vmware work writing
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
- Nick Schmidt lives passionately in the digital world advising and advancing technology everywhere he goes. He has served in the US Air Force, been a self-employed consultant, a senior manager and chief engineer at Boeing, and now co-founding and running Spec Ops Technology. Decorated in his military and professional career you can find his work in the nations networks and across the web.




