Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
Subject: mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Subject: Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
Subject: MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Subject: Re: Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
Account Problems. Can 't register server with new account

Account Problems. Can 't register server with new account

2007-11-06       - By AlejandraB

 Back

Thanks Russell for your help.

My user 'usuario1' did have the host='localhost' asigned.

It was kind of weird I couldn't enter back then. But today, days after and
not even entering the server ... I got in with user=usuario1 !

[root@(protected) bin]# ./mysql -u usuario1 -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 4 to server version: 5.0.27-max

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

mysql> show databases;
+-- ---- ---- ---- --+
| Database           |
+-- ---- ---- ---- --+
| information_schema |
| pruebaCluster      |
| test               |
+-- ---- ---- ---- --+
3 rows in set (0.01 sec)

I wonder why .... (I'm using MySQL Cluster).




Russell E Glaue wrote:
>
> Run this SQL Query
>
> mysql> select Host,User from user;
>
> Make sure the output has this record values:
> +-- ---- ---+-- ---- --+
> | Host      | User     |
> +-- ---- ---+-- ---- --+
> | localhost | usuario1 |
> +-- ---- ---+-- ---- --+
>
> If your mysql error message were to say this:
>   Access denied for user 'usuario1'@'me-me-me.com'
> The record values need to look like this:
> +-- ---- ------+-- ---- --+
> | Host         | User     |
> +-- ---- ------+-- ---- --+
> | me-me-me.com | usuario1 |
> +-- ---- ------+-- ---- --+
>
> Or
>   Access denied for user 'usuario1'@'192.168.20.5'
> +-- ---- ------+-- ---- --+
> | Host         | User     |
> +-- ---- ------+-- ---- --+
> | 192.168.20.5 | usuario1 |
> +-- ---- ------+-- ---- --+
>
>
> To Update:
> mysql> update user set Host="localhost" where User='usuario1' LIMIT 1;
>
> -RG
>
> AlejandraB wrote:
>> Good evening.
>>
>> I have mysql cluster installed and I'm trying to start the mysql server
>> with
>> a new user account recently created, and  I'm having trouble accessing
>> the
>> server  with the new account.
>>
>> [root@(protected) bin]# ./mysql -u usuario1 -p
>> Enter password:
>> ERROR 1045 (28000): Access denied for user 'usuario1'@'localhost' (using
>> password: YES)
>>
>>
>> The  new user does exists and I know the problem is not password related.
>>
>> mysql> use mysql
>> Reading table information for completion of table and column names
>> You can turn off this feature to get a quicker startup with -A
>>
>> Database changed
>> mysql> select User from user;
>> +-- ---- --+
>> | User     |
>> +-- ---- --+
>> | mysql    |
>> | root     |
>> | usuario1 |
>> |          |
>> | mysql    |
>> | root     |
>> +-- ---- --+
>>
>>
>>
>> Thanks in advance
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/mysql?unsub=lists@(protected)
>
>
>

--
View this message in context: http://www.nabble.com/Account-Problems.-Can%27t
-register-server-with-new-account-tf4744425.html#a13616486
Sent from the MySQL - General mailing list archive at Nabble.com.


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=mysql@(protected)