Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Error While Logging into MYSQL (7 replies)

$
0
0
Hi All, I am new to wampp and I have successfully installed wamp 3.1.0 and it has phpMYAdmin 4.7.4

problem is I am unable to log on into MYSQL .


currently : (FOR MYSQL) the config file reads :

$cfg['Servers'][$i]['verbose'] = 'MySQL';
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['port'] = $wampConf['mysqlPortUsed'];
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = '';
$cfg['Servers'][$i]['password'] = '';

and for maria db it reads:

$cfg['Servers'][$i]['verbose'] = 'MariaDB';
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['port'] = $wampConf['mariaPortUsed'];
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = '';
$cfg['Servers'][$i]['password'] = '';

pretty much the same stuff when host ,username and password is concerned.

in case of maria db ,in the console when am using

username "localhost"
passowrd ""

i can go through

but in case of MYSQL

its throwing me "#1045 - Access denied for user 'localhost'@'localhost' (using password: NO)".

I tried setting all set of username and password in config file to no luck.

Cannot get it through ,

What wrong I am doing ?

Any help highly appreciated

Regards
Nihar

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>