Mailinglist Archive: opensuse (4343 mails)

< Previous Next >
Re: [SLE] mysql root permission denied
  • From: steve <fsanta@xxxxxxxxxx>
  • Date: Thu, 7 Nov 2002 13:43:13 +0000
  • Message-id: <200211071343.13723.fsanta@xxxxxxxxxx>
On Thursday 07 November 2002 11:41, you wrote:
> steve wrote:
> > Does this look good?
> No ;-)
> Have you set a password for mysql at all? If you haven't and you try to
> use one, you'll see that message.
> Try it without the password.
> mysqladmin -u root status
> sjb

# mysqladmin -u root status
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'

As a user I can just type mysql and make tables in the test database no
~> mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 13 to server version: 3.23.52-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show databases;
| Database |
| mysql |
| test |
2 rows in set (0.03 sec)


It's just root who can't login. I know it's working because of this. I just
want to be able to get it right before I let my students loose on the 'net
with php. Thanks for your patience. Steve.

< Previous Next >
Follow Ups