0

In most versions of MySQL that I've worked with, there is a default "test" database that is pre-loaded with the performance, information, and mysql databases. I've never seen this database populated. Is it safe to delete this DB or will MySQL use this as a resource in the future?

1
  • Something is called test? Shoot first and ask questions later. Commented Dec 1, 2013 at 23:48

2 Answers 2

2

Yes, you can delete it... but the fact that you are asking indicates that the installations in question may not have been properly secured and may still also have the anonymous accounts active also. There is an official script to take care of both:

http://dev.mysql.com/doc/refman/5.6/en/mysql-secure-installation.html

Sign up to request clarification or add additional context in comments.

Comments

1

The mySQL manual says:

The test database often is available as a workspace for users to try things out.

that's arguably good enough reason to assume it's safe to remove.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.