Problem with UCP [From System64] -
Sanady - 29.06.2012
Hello everybody.I am trying to test UCP from System64.But when I try to log in this warning shows me.
Код:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'zaraprom_system'@'localhost' (using password: YES) in /home/zaraprom/public_html/system32/s32ucp/connect.php on line 3
Access denied for user 'zaraprom_system'@'localhost' (using password: YES)
Line 3 is this
PHP код:
$connect = mysql_connect("localhost", "root", "") or die(mysql_error());
So what`s the problem??
Re: Problem with UCP [From System64] -
KingHual - 29.06.2012
You didn't even fill out the password parameter.
Re: Problem with UCP [From System64] -
Sinner - 29.06.2012
Quote:
Originally Posted by king_hual
You didn't even fill out the password parameter.
|
Yes he did.
It's likely that either:
a) Your password is incorrect (it's not blank)
b) The user "root" doesn't have the permissions needed to access the database
Also make sure your MySQL server is indeed ON.
If you're using XAMPP, go to xampp/phpMyAdmin/config.php and make sure your MySQL settings are as followed:
PHP код:
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
Re: Problem with UCP [From System64] -
ca2k - 29.06.2012
Sometimes it makes me wonder, do people even read the error messages?
Re: Problem with UCP [From System64] -
KingHual - 29.06.2012
Quote:
Originally Posted by Sinner
Yes he did.
|
Since when do blank passwords exist? I may be wrong, but I've never heard of a blank password.
Re: Problem with UCP [From System64] -
Michael@Belgium - 29.06.2012
Код:
(using password: YES)
Your localhost doesn't use password.
Re: Problem with UCP [From System64] -
Vince - 29.06.2012
Код:
Access denied for user 'zaraprom_system'@'localhost'
It is not even connecting as root.
Re: Problem with UCP [From System64] -
Sinner - 29.06.2012
Quote:
Originally Posted by king_hual
Since when do blank passwords exist? I may be wrong, but I've never heard of a blank password.
|
Blank password are allowed if you specify you aren't using a password. I use it for my local server
Re: Problem with UCP [From System64] -
Sanady - 01.07.2012
I am using WAMP server for testing php and MySQL stuffs so how to fix it??
Re: Problem with UCP [From System64] -
KingHual - 01.07.2012
Quote:
Originally Posted by Sinner
Blank password are allowed if you specify you aren't using a password. I use it for my local server
|
Quote:
Access denied for user 'zaraprom_system'@'localhost' (using password: YES)
|
Anyway, you should connect to localhost, not root, and use a password ._.