Log In · Register

 
Fanupdate isn't installing for me.
theerinkal
post May 2 2009, 09:20 PM
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.
 
 
Start new topic
Replies
Mikeplyts
post May 5 2009, 04:13 PM
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. _smile.gif
 
theerinkal
post May 5 2009, 08:22 PM
Post #3


Irrisistable Cabbages.
*****

Group: Member
Posts: 549
Joined: Nov 2007
Member No: 589,355



QUOTE(Mikeplyts @ May 5 2009, 04:13 PM) *
You did put the correct password for your MySQL database right? Did you make a MySQL database at all?


I made a MySQL database. Yes I've changed the password for MySQL database and in the file several times and it still is not working.

QUOTE(Mikeplyts @ May 5 2009, 04:13 PM) *
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".


I can't get to the install page in fanupdate.

QUOTE(Mikeplyts @ May 5 2009, 04:13 PM) *
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. _smile.gif


Thanks.

I have MySQL in my plan, but it's still not working. I have everything correct. I created a new database and it's still not working. Am I supposed to create a table or something? This is where I go to go to the install.php page and that's what it says.
 
fixtatik
post May 5 2009, 08:44 PM
Post #4


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



QUOTE(theerinkal @ May 5 2009, 09:22 PM) *
I created a new database and it's still not working. Am I supposed to create a table or something?.

the software will create the tables for you; all you need to do is have the database ready. did you name it "mysql," or is that just what comes in the fanupdate default configuration file?

i would also check to see if you can connect to your database manually. in your web admin panel, find the area dealing with mysql. there will probably be somethere there similar to "phpMyAdmin." if you can get into that, then it's not a database problem.
 
theerinkal
post May 5 2009, 08:58 PM
Post #5


Irrisistable Cabbages.
*****

Group: Member
Posts: 549
Joined: Nov 2007
Member No: 589,355



QUOTE(fixtatik @ May 5 2009, 08:44 PM) *
the software will create the tables for you; all you need to do is have the database ready. did you name it "mysql," or is that just what comes in the fanupdate default configuration file?

i would also check to see if you can connect to your database manually. in your web admin panel, find the area dealing with mysql. there will probably be somethere there similar to "phpMyAdmin." if you can get into that, then it's not a database problem.


I do have phpMyAdmin. I'm new to the whole database thing though. What do you mean connect it manually?

It doesn't for me. I have to create the tables myself. It starts without tables.
 

Posts in this topic
theerinkal   Fanupdate isn't installing for me.   May 2 2009, 09:20 PM
theerinkal   Doesn't anyone know what's wrong?   May 4 2009, 10:16 PM
Mikeplyts   You did put the correct password for your MySQL da...   May 5 2009, 04:13 PM
theerinkal   QUOTE(Mikeplyts @ May 5 2009, 04:13 PM) Y...   May 5 2009, 08:22 PM
fixtatik   QUOTE(theerinkal @ May 5 2009, 09:22 PM) ...   May 5 2009, 08:44 PM
theerinkal   QUOTE(fixtatik @ May 5 2009, 08:44 PM) th...   May 5 2009, 08:58 PM
fixtatik   it starts without tables because it hasn't ins...   May 6 2009, 03:27 PM
theerinkal   QUOTE(fixtatik @ May 6 2009, 03:27 PM) it...   May 6 2009, 04:10 PM
Mikeplyts   Is your MySQL hostname "localhost"? Chec...   May 6 2009, 04:54 PM
theerinkal   QUOTE(Mikeplyts @ May 6 2009, 04:54 PM) I...   May 6 2009, 04:55 PM
Mikeplyts   And you are using a database called "mysql...   May 6 2009, 04:58 PM
theerinkal   QUOTE(Mikeplyts @ May 6 2009, 04:58 PM) A...   May 6 2009, 04:59 PM
Mikeplyts   Do you have any other databases?   May 6 2009, 05:00 PM
theerinkal   QUOTE(Mikeplyts @ May 6 2009, 05:00 PM) D...   May 6 2009, 05:05 PM
Mikeplyts   Well try connecting to all the other databases, or...   May 6 2009, 05:17 PM
theerinkal   QUOTE(Mikeplyts @ May 6 2009, 05:17 PM) W...   May 6 2009, 05:19 PM
theerinkal   I still have a few questions: 1.) How long does i...   May 9 2009, 09:46 AM
Mikeplyts   QUOTE(theerinkal @ May 9 2009, 10:46 AM) ...   May 9 2009, 10:40 AM
theerinkal   QUOTE(Mikeplyts @ May 9 2009, 10:40 AM) 1...   May 9 2009, 01:27 PM
fixtatik   looking at your databases through phpMyAdmin is te...   May 10 2009, 01:20 PM
theerinkal   QUOTE(fixtatik @ May 10 2009, 01:20 PM) l...   May 10 2009, 01:32 PM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: