Author Topic: Error: Access denied for user 'root'@'localhost'  (Read 6101 times)

0 Members and 1 Guest are viewing this topic.

raprain

  • Jr. Member
  • **
  • Posts: 1
Error: Access denied for user 'root'@'localhost'
« on: September 19, 2012, 07:37:07 AM »
Code: [Select]
$webimroot = "/webim";

/*
 *  Internal encoding
 */
$webim_encoding = "utf-8";

/*
 *  MySQL Database parameters
 */
$mysqlhost = "localhost";
$mysqldb = "webim";
$mysqllogin = "root";
$mysqlpass = "";
$mysqlprefix = "wm";

$dbencoding = "utf8";
$force_charset_in_connection = true;

/*
 *  Mailbox
 */
$webim_mailbox = "webim@yourdomain.com";
$mail_encoding = "utf-8";
help me please :(
Correct the mistakes:
Could not connect, please check server settings in config.php. Error: Access denied for user 'root'@'localhost' (using password: NO)

http://gaziantephayatsu.com/webim/install/

g0dd3rz

  • Jr. Member
  • **
  • Posts: 4
Re: Error: Access denied for user 'root'@'localhost'
« Reply #1 on: September 20, 2012, 08:15:23 AM »
This usually means you have changed the password for the "root" user in your mySQL install. by default it is normally blank.

Just update the line below in config.php with the password you set...

$mysqlpass = "[mySQL Root password here]";

Hope that helps.