MySQL console
Posted by: Uricta-Wave (---.cable.ubr02.wolv.blueyonder.co.uk)
Date: September 26, 2006 10:05PM

Hi, Im trying to use the mysql console, but every time i open it, i am asked for a password, presumably this is the root password, but I can't figure out what that password is. Whatever I try, the console just exit's straight away.

Does anybody know where this is changed?

Help.

Dave.



<img src="[82.47.15.246]; alt="car" width="99" height="80" />

Options: ReplyQuote
Re: MySQL console
Posted by: ewhiting (64.40.218.---)
Date: September 26, 2006 10:39PM

try going to the phpmyadmin folder and edit the config.inc file located at
wamp\phpmyadmin\config.inc.

now be carefull with this file since it is your mysql console config file. Find password and once you have located it in the config file look and see if it has a set password. if not you might try to place one in there.

dont know if that is much help but give it a shot.

EW


Options: ReplyQuote
Re: MySQL console
Posted by: roms (---.fbx.proxad.net)
Date: September 27, 2006 12:22AM

when the passwod is asked, just type on 'enter'.



Romain

Options: ReplyQuote
Re: MySQL console
Posted by: Serving the King (---.syracuse-01rh15-16rt.ny.dial-access.att.net)
Date: September 27, 2006 02:28AM

Like Romain said, just hit the enter key.

I had that problem and was going nuts trying to figure it out. I actually found the answer by mistake. I had opened the console and went to enter my password, but hit the enter key by mistake and it opened up.

Go figure.

Options: ReplyQuote
Re: MySQL console
Posted by: CyberSpatium (67.170.181.---)
Date: September 27, 2006 09:29AM

> try going to the phpmyadmin folder and edit the config.inc file located at
> wamp\phpmyadmin\config.inc.

> now be carefull with this file since it is your mysql console config file.
> Find password and once you have located it in the config file look and
> see if it has a set password. if not you might try to place one in there.

> dont know if that is much help but give it a shot.

> EW

----------------------------

your phpmyadmin config file only configures phpmyadmin, not mysql. it has nothing to do with any kind of configuration of mysql. it just configures the phpmyadmin script to work with with your mysql server. also there is no such thing as a mysql console config file.

Options: ReplyQuote
Re: MySQL console
Posted by: Uricta-Wave (---.cable.ubr02.wolv.blueyonder.co.uk)
Date: September 27, 2006 08:26PM

Well......

I tried just hitting the enter key, and that just closes the console straight away.

So I tried editing the phpmyadmin config file. I did this..... and entered no password....

So presumably I should be able to just press enter and enter the console, no luck...

$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)

Any more ideas? or should I just start using phpmyadmin?

Dave.



<img src="[82.47.15.246]; alt="car" width="99" height="80" />

Options: ReplyQuote
Re: MySQL console
Posted by: CyberSpatium (67.189.46.---)
Date: September 27, 2006 09:42PM

read my previous post. your phpmyadmin config file has absolutely nothing to do with any kind of configuration of mysql. it just is the config file to setup phpmyadmin to work on your server, nothing more, nothing less.

Options: ReplyQuote


Sorry, only registered users may post in this forum.