Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   MySql and Php Script setup help.. (https://www.warriorforum.com/programming/82622-mysql-php-script-setup-help.html)

Intrepreneur 10th May 2009 01:10 PM

MySql and Php Script setup help..
 
I'm setting up a script... here are the options Im asked ofr on the install page.

MySQL Server:
MySQL User:
MySQL Database:
MySQL Password

Im confused by the MySQL server option, what should this be.. I imagine it would be the word 'localhost' but its not and I've not seen something like this before..

Cheers.

mojojuju 10th May 2009 02:05 PM

Re: MySql and Php Script setup help..
 
Localhost will usually do, but you should probably find out from your hosting provider. Nobody here can tell you for sure.

Neil Morgan 10th May 2009 03:57 PM

Re: MySql and Php Script setup help..
 
Usually the MySQL server software is on the same box as your web server.

That's why leaving it blank or enter "locahost" is the norm.

If your host chose to host their MySQL server database on a different box from your web server, they would tell you what you need to enter there. There's no way to guess.

Cheers,

Neil

edhan 11th May 2009 01:48 AM

Re: MySql and Php Script setup help..
 
Sometimes it can be using IP Address: 127.0.0.1
It is the same as localhost.

Otherwise you will need to consult your hosting provider.

SiteMiracle 11th May 2009 07:33 PM

Re: MySql and Php Script setup help..
 
Quote:

Originally Posted by Intrepreneur (Post 771829)
I'm setting up a script... here are the options Im asked ofr on the install page.

MySQL Server:
MySQL User:
MySQL Database:
MySQL Password

Im confused by the MySQL server option, what should this be.. I imagine it would be the word 'localhost' but its not and I've not seen something like this before..

Cheers.

MySQL Server: is usually localhost.

The problem you're having could be from MySQL User and MySQL Database not being set correctly in the script's config file. If you are using cpanel, MySQL Database should be in the following format YourCpanelUsername_MySQLDatabaseName and MySQL User should be in following format YourCpanelUsername_MySQLUsername.


All times are GMT -6. The time now is 08:14 AM.