sensory Posted February 14, 2005 Posted February 14, 2005 Hi there guys. I seem to be having a few problems with getting pLog installed on my server, and would greatly appreciate any assistance from pLog users out there or users that can point me in the right direction of what I might doing wrong. First off I unpack the installation files and upload them to my FTP (I've done this before on another host), set the necessary permissions for each folder/file, then go to the wizard.php to set up the mysql database and tables. That's where the problems start. After I enter in all the details needed I get a message saying that the script could not connect to the msql database, so it could not create the tables necessary or the database necessary. I've created a database and a user with the necessary permissions, entered the info into the boxes provided by pLog, so the only thing I can think of is that I'm not using the correct URL for the database server. Would this be my domain name, or should I be using a different server? Any input on what my problem could be or any instructions on how to install pLog on a totalchoicehosting server would be greatly appreciated. I've tried just about every combination possible to get this working.. Quote
TCH-Rob Posted February 14, 2005 Posted February 14, 2005 The first question that comes to mind would be if you added the user to the database. Creating the database and creating the user are just two thirds of the process. Once you have done those two you need to add the user to the database. Quote
TCH-Don Posted February 14, 2005 Posted February 14, 2005 Welcome to the Family and your new home! And after you add the user to the database You have to add them to the config file or where needed so it looks something like $database ="yourcpanelname_databasename"; $dbuser ="yourcpanelname_databaseusername"; We really are like family here. So if you need anything, just ask your new family! We love to help Quote
TCH-RobertM Posted February 14, 2005 Posted February 14, 2005 Welcome to the famliy and forums sensory, Quote
sensory Posted February 14, 2005 Author Posted February 14, 2005 The first question that comes to mind would be if you added the user to the database. Creating the database and creating the user are just two thirds of the process. Once you have done those two you need to add the user to the database. <{POST_SNAPBACK}> Yep, done and done. Added the username to the wizard.php file (which writes it to the config file. Still no dice. So the msqyl DB is just my domain name? P.S. Thanks for the warm welcome. Quote
TCH-Dick Posted February 14, 2005 Posted February 14, 2005 You should be able to use your "domain name" or "localhost". Quote
TCH-Rob Posted February 14, 2005 Posted February 14, 2005 If you want to PM me I can have a look at your settings and see where the problem might be stemming from. Quote
TCH-Rob Posted February 14, 2005 Posted February 14, 2005 For those that might run into the same problem, here was the fix. You had $config["db_host"]= "domain.org";$config["db_username"] = "cpanel-name_username"; $config["db_password"] = "password"; $config["db_database"] = "db-name"; It should be $config["db_host"]= "localhost";$config["db_username"] = "cpanel-name_username"; $config["db_password"] = "password"; $config["db_database"] = "cpanel-name_db-name"; Quote
TCH-Bruce Posted February 14, 2005 Posted February 14, 2005 Welcome to the famliy and forums sensory! Quote
sensory Posted February 14, 2005 Author Posted February 14, 2005 Thanks guys.. such a warm greeting. Quote
borfast Posted February 14, 2005 Posted February 14, 2005 Welcome to the forums, sensory If you need anything, just ask! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.