Updated: Tue Sep 07, 2010 (15:00), A PHP / MySQL professional (10 yrs.exp.) is seeking a long-term full-time freelancing contract (relocating possible as well), see CV and contact pages.

Welcome!

Contains materials for dummies This blog is for Linux dummies as just I am.

This blog contains various solutions and how-toes on the current release of Fedora Linux distribution and several Linux articles and tutorials.

View a PHP / MySQL / AJAX / JAVASCRIPT Freelancer Programmer profile on LinkedIn Follow me on twitter

Fedora Availability

Historically Test and General Availability releases happen at 10:00am Eastern US Time...

Announcement

A php/mysql freelancer programmer since 2001 is looking for contract work. Please use contact form at this page.

The full resume with examples of PHP/MySQL/Javascript projects, working experience and recommendations is available online from this page.

Ioncube encoder is the best solution for php developers
Ioncube encoder is the best solution for a php developer

Path: Blog > Linux > How-Toes > Securing MySQL after Installation

Securing MySQL after Installation

If you just installed Linux or, separately, MySQL server, you need to undertake some simple routines to make it a little more secure. The below will set a password for a superuser account, remove anonymous user account and do some more sweet things.

sudo /sbin/service mysqld start
/usr/bin/mysqladmin -u root password 'NEW_PASSWORD'
/usr/bin/mysqladmin -u root -p -h localhost.localdomain password 'NEW_PASSWORD'

Anonymous account removal:

/usr/bin/mysql_secure_installation

Answers:

Change the root password? [Y/n] n
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] y
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y

Related posts:

SociBook del.icio.us Digg Facebook Google Yahoo Buzz StumbleUpon
Support this site:        

Leave a comment

Your comment

Get a Free Web Project Quote from a PHP Freelancer Consultant


 
 
 
 

Fight Spam!   Add to Technorati Favorites Programming Blogs - BlogCatalog Blog Directory       Programming Blog Directory
Software   Top Blogs

blogarama - the blog directory