Jump to content

Recommended Posts

Posted

Hi there guys. :dance:

 

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..

Posted

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.

Posted

:dance: Welcome to the Family :dance:

 

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 :)

Posted
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.

Yep, done and done. Added the username to the wizard.php file (which writes it to the config file. Still no dice. :dance:

 

So the msqyl DB is just my domain name?

 

P.S. Thanks for the warm welcome. :dance:

Posted

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";

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...