News:

Click here for Toll-Free Service for your business starting at $2.00 per month

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - alberto

#1
Support Requests / Re: access denied (to database)
December 21, 2005, 09:23:16 AM
I'm so sorry. When reinstalling my database after the fire I used a different databasename. I didn't realise that.
#2
Support Requests / access denied (to database)
December 17, 2005, 05:35:49 PM
I recently restored my website and my database using a backup

Alas, the website doesn't function any more; The connection with my database is not established in a correct way. I make a connection in a php script with
$link = mysql_connect("localhost","databaseusername","databasepassword")
or die ("could not connect to database");

when the .php script is used i get
Access denied for user 'databaseusername'@'%' to database 'databasename'

The only difference I can think of with before the fire is that my databaseusername is different.
It used to be databaseusername=accountusername
now they are different.
Can I change my databaseusername to see if this has any effect ?