Fanupdate isn't installing for me. |
Fanupdate isn't installing for me. |
![]()
Post
#1
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
On my fanupdate page it says, "ERROR: Could not connect to database server." when I have the correct database server name in it. I'm using version 2.2.1 if that is needed.
CODE // ------------->ADMIN VARIABLES $fanupdate['admin_username'] = 'erin'; $fanupdate['admin_password'] = md5('CORRECT PASSWORD IS HERE'); // ------------->DATABASE VARIABLES $fanupdate['dbhost'] = 'localhost'; $fanupdate['dbuser'] = 'erin'; $fanupdate['dbpass'] = 'CORRECT PASSWORD IS HERE'; $fanupdate['dbname'] = 'mysql'; That is everything that I edited and I have everything correct but it's not working. I don't know why it's not working either. |
|
|
![]() |
![]()
Post
#2
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 ![]() |
You did put the correct password for your MySQL database right? Did you make a MySQL database at all?
Ok, so this is what could be wrong. You should have a password for your fanupdate and a username. Check to see if you have it, and if you don't, get it. You're going to need to put in the username and password for your fanupdate "account". Also, you need to set up a MySQL database if you haven't done so yet. Then, there should be a page in the MySQL admin page where it gives the details of the database. The variable dbhost needs to have the host name of your MySQL database, which usually is localhost but just check to see if it's a different hostname. Then the variable dbuser needs to have the username you used for the MySQL database, where it says "erin", in this case. Next, the variable dbpass needs to have the password for your MySQL database. Finally, the variable dbname needs to have the exact name of the MySQL database you created. Save the file and see if it works. If you can't find your MySQL details, try contacting your host. Also, this won't work if you don't have MySQL provided with your hosting plan so yeah... Good Luck. ![]() |
|
|
![]() ![]() |