Jump to content

Recommended Posts

I use godaddy, and I am having a problem setting my database up with my PHP.  I have attached both, can anybody help me fill in the PHP with my info, no matter what I do, I can not log on.  Thank you in advance.

if (!defined("IN_COMMENTICS")) { die("Access Denied."); }

 

//ENTER DATABASE INFORMATION HERE*****************************************************

$cmtx_mysql_database = 'vacationvallarta'; // The name of the database you created

$cmtx_mysql_username = 'vacationvallarta@72.167.233.37'; // Your MySQL username

$cmtx_mysql_password = '********'; // Your MySQL password

$cmtx_mysql_host = 'localhost'; // Usually 'localhost'. Can also be an IP address.

$cmtx_mysql_table_prefix = ''; // In most cases leave blank.

//************************************************************************************

 

?>

 

Here is my Info on SQL database:

 

vacationvallarta.db.8327489.hostedresource.com

Server version: 5.0.92-log

Server: vacationvallarta.db.8327489.hostedresource.com (50.63.105.30 via TCP/IP)

User: vacationvallarta@72.167.233.37

MySQL charset: UTF-8 Unicode (utf8)

 

Link to comment
https://forums.phpfreaks.com/topic/267153-help-having-sql-problem/
Share on other sites

Can you post the code where you're trying to connect to the database, and what kind of error do you get?

 

BTW: You'll want to change the username on that MySQL server, seeing as you posted the IP-address and username. Granted you did remove the password, but knowing that the server is publicly available means that attackers can (and probably will) try to brute force/guess/circumvent the password anyway.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.