MySQL Forums
Forum List  »  Security

Why can I connect with inexistent user ?
Posted by: Peter Galanton
Date: July 26, 2006 11:55AM

Hello!

I have recently installed mysql-server-5.0.22 on a FreeBSD box and secured the initial root account by adding a password, removed the test user and database, there are no '%' hosts or users in the mysql.user table. I added 1 user with privileges on 1 database.

The problem is that I can connect to the database with any username (even though it does not exist) with no password, for instance:

mysql -u asd

succeeds. It's true that I can't access any databases, and show databases only shows the information_schema. Still, isn't there a way to stop this behaviour ?

Options: ReplyQuote


Subject
Views
Written By
Posted
Why can I connect with inexistent user ?
3559
July 26, 2006 11:55AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.