Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 10:46 pm EST
Geeklog Forums
Problem upgrade from 1.3.7 to 1.3.9
Status: offline
isak_ricky
Forum User
Newbie
Registered: 03/22/04
Posts: 2
Hello all.. I use Geeklog for 1 year with 1.3.7 version. But when I upgrade to 1.3.9 I get this error message
1044: Access denied for user: 'username@localhost' to database 'dbname'
I have check the code for mysql.class.php, lib-database.php, and I give echo message for debugging mysql.class.php.
mysql_connect run find... and actually I don't change any configuration for database, and it used the new config.php with right settings.
But I still don't know why I get this kind of message...
Anybody can give me hint or explanation...
Thank you very much
1044: Access denied for user: 'username@localhost' to database 'dbname'
I have check the code for mysql.class.php, lib-database.php, and I give echo message for debugging mysql.class.php.
mysql_connect run find... and actually I don't change any configuration for database, and it used the new config.php with right settings.
But I still don't know why I get this kind of message...
Anybody can give me hint or explanation...
Thank you very much
4
5
Quote
Status: offline
isak_ricky
Forum User
Newbie
Registered: 03/22/04
Posts: 2
Yes, I am sure... because the error message output the host and the same username with the old ones, but cannot connect.
My MySQL Version is 3.23.57.
It is a problem with MySQL Version?
I try to give echo after code mysql_connect and mysql_selectdb... and it is displayed well.. so I confused because I think the function run well and not call die....
// Connect to MySQL server
$conn = mysql_connect($this->_host,$this->_user,$this->_pass) or die('Cannnot connect to DB server');
// Set the database
@mysql_select_db($this->_name) or die('error selecting database');
echo "testing";
But when I give echo in dbQuery in mysql.class.php in the if (mysql_errno() == 0 && !empty($result))
and the else...
the echo don't display anything.. so It did not run well
It cannot displayed...
My MySQL Version is 3.23.57.
It is a problem with MySQL Version?
I try to give echo after code mysql_connect and mysql_selectdb... and it is displayed well.. so I confused because I think the function run well and not call die....
// Connect to MySQL server
$conn = mysql_connect($this->_host,$this->_user,$this->_pass) or die('Cannnot connect to DB server');
// Set the database
@mysql_select_db($this->_name) or die('error selecting database');
echo "testing";
But when I give echo in dbQuery in mysql.class.php in the if (mysql_errno() == 0 && !empty($result))
and the else...
the echo don't display anything.. so It did not run well
It cannot displayed...
4
3
Quote
All times are EST. The time is now 10:46 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content