I crack Photoshop!
Posts: 3
22 credits Members referred : 0
« on: Jun 12, 2006, 08:59:31 am »
when I try to use the register.php file I get these errors:
Warning: mysql_connect(): Access denied for user: '***@localhost' (Using password: YES) in /***/classes/access_user/access_user_class.php on line 116
Warning: mysql_select_db(): Access denied for user: '***@localhost' (Using password: NO) in /***/classes/access_user/access_user_class.php on line 117
Warning: mysql_select_db(): A link to the server could not be established in /***/classes/access_user/access_user_class.php on line 117
I have read that these errors exist and that i have to unescape some lines but i tried everything but nothing helps.
Can you please tell me what to do exactly.
Thx
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Jun 12, 2006, 09:03:08 am »
sounds like a wrong connection string...
try localhost.localdomain and not localhost
I crack Photoshop!
Posts: 3
22 credits Members referred : 0
« Reply #2 on: Jun 12, 2006, 09:08:43 am »
didn't work, these are the lines of the error
function connect_db() { $conn_str = mysql_connect(DB_SERVER, DB_USER, DB_PASSWORD); mysql_select_db(DB_NAME); // if there are problems with the tablenames inside the config file use this row }
Look at the text after //
But what lines do I have to drop
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #3 on: Jun 12, 2006, 09:12:07 am »
this is about if your are accessing tables like "databaseName.TableName"
it looks like that your connection settings are still wrong...
I crack Photoshop!
Posts: 3
22 credits Members referred : 0
« Reply #4 on: Jun 12, 2006, 09:17:05 am »
Jeesu&*^# I made a stupid mistake.
You are right it was a connection thing I was still using the old settings for a mysql database I had used earlier when I was testing.
It is solved now.
Thx
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #5 on: Jun 12, 2006, 12:55:20 pm »
no problem, we're glad to help
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2838