Ayumi
Joshua Pike.
- Sep 13, 2010
- 1,028
- 73
Stop your hotel being hacked with the following method
1. Delete phpmyadmin
2. open my.cnf and enter the following at the bottom
[mysqld]
skip-networking
set-variable=local-infile=0
3. Change mysql admin username
mysql> update user set user="mydbadmin" where user="root";
mysql> flush privileges;
Credits
~0ni.
~me for bringing this here.
1. Delete phpmyadmin
2. open my.cnf and enter the following at the bottom
[mysqld]
skip-networking
set-variable=local-infile=0
3. Change mysql admin username
mysql> update user set user="mydbadmin" where user="root";
mysql> flush privileges;
Credits
~0ni.
~me for bringing this here.