Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

mysql remove user

Posted on 2011-03-25
1
Medium Priority
?
283 Views
Last Modified: 2012-06-21
Hi

How do i remove the user in the 5th row?

mysql> SELECT User, Host, Password FROM mysql.user;
+------------------+-----------+-------------------------------------------+
| User             | Host      | Password                                  |
+------------------+-----------+-------------------------------------------+
| root             | localhost | *xxx |
| root             | oscar     | *xxx |
| root             | 127.0.0.1 | *xxx |
| debian-sys-maint | localhost | *xxx |
|                  | localhost |                                           |
| anonymous        | localhost |                                           |
+------------------+-----------+-------------------------------------------+
6 rows in set (0.00 sec)

this user was called 'dave' and i thought i had deleted it by the drop user command but it seems not

thanks
0
Comment
Question by:andieje
1 Comment
 
LVL 30

Accepted Solution

by:
Randy Downs earned 2000 total points
ID: 35217797
The drop user should have worked in any case, there doesn't appear to be a displayble user name. You might check it in a GUI like phpMyAdmin
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month21 days, 1 hour left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question