List:MySQL and Perl« Previous MessageNext Message »
From:Héctor S. Mendoza O. Date:May 17 2006 9:23pm
Subject:RE: Problem connecting
View as plain text  
Here it is...

[root@chihuahua root]# mysql -uweb -hlocalhost -psecret planos
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 15 to server version: 4.1.10a-Max-log

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

mysql> quit
Bye
[root@chihuahua root]#

TIA

Héctor S. Mendoza Ortiz

-----Mensaje original-----
De: w@stripped [mailto:w@stripped] 
Enviado el: Miércoles, 17 de Mayo de 2006 03:34 p.m.
Para: H?ctor S. Mendoza O.
Asunto: Re: Problem connecting

On Wed, May 17, 2006 at 01:01:18PM -0500, H?ctor S. Mendoza O. wrote:
> >[root@chihuahua cgi-bin]# mysql -u web -h localhost -p planos
> >Enter password:
> >Welcome to the MySQL monitor.  Commands end with ; or \g.

Last argument in command line is the database name,
thus password is invisible here and confusing.
Use no spaces after option key to be certain:
    mysql -uweb -hlocalhost -psecret planos

It sounds you have empty password set for user web@localhost.
Try
    SELECT host,user,password FROM user
to see what is actually set.

--w


Thread
Problem connectingHéctor S .  Mendoza O . 17 May
RE: Problem connectingHung Tran17 May
RE: Problem connectingHéctor S .  Mendoza O . 17 May
  • Re: Problem connectingPatrick Galbraith17 May
    • RE: Problem connectingHéctor S .  Mendoza O . 17 May
      • Re: Problem connectingPatrick Galbraith17 May
        • RE: Problem connectingHéctor S .  Mendoza O . 17 May
          • Re: Problem connectingPatrick Galbraith17 May
        • RE: Problem connectingHéctor S .  Mendoza O . 17 May
AW: Problem connectingGisbert W. Selke17 May
RE: Problem connectingHéctor S .  Mendoza O . 17 May
Re: Problem connectingPatrick Galbraith17 May
Re: Problem connectingPatrick Galbraith17 May
  • RE: Problem connectingHéctor S .  Mendoza O . 17 May
RE: Problem connectingHéctor S .  Mendoza O . 17 May
  • Re: Problem connectingVladimir V. Kolpakov17 May
    • RE: Problem connectingHéctor S .  Mendoza O . 17 May
      • RE: Problem connectingHéctor S .  Mendoza O . 18 May