Bobba hotel | the emu problems + client problems [help]

Stee

Oh hot damn. This is my jam.
Jun 28, 2011
285
158
Ok the emu is being odd... I'm hosting my db on a cpanels phpmyadmin... I had it connected before and it just didnt work... the client wouldnt load...


So pretty much.
1.Emu wont connect (I have the latest ODBC Connector)
2. When it dose connect the client still dosent load.
3. Oh ye its a v26

Pic of the error below.

20usmqg.gif


 

Kaz

BooYah
Staff member
Nov 16, 2010
3,064
1,025
right in your config file, change where localhost usually is to your domain name, do not use the ip as im guessing your using a shared hosting account and dont have a dedicated ip

Example,
PHP:
<?php
$host = "YOUR DOMAIN";
$username = "DB USERNAME";
$password = "DB PASS";
$dbname = "DB NAME";

Try that and see if that works
 

Stee

Oh hot damn. This is my jam.
Jun 28, 2011
285
158
Code:
[mysql]host=Http://bobbahat.com/
port=3306
database=bobbahat_hotel
username=bobbahat_hotel
password=*****


If you ment like this... It dosent work still :/
 

Kanebrah

Member
May 23, 2011
465
98
right in your config file, change where localhost usually is to your domain name, do not use the ip as im guessing your using a shared hosting account and dont have a dedicated ip

Example,
PHP:
<?php
$host = "YOUR DOMAIN";
$username = "DB USERNAME";
$password = "DB PASS";
$dbname = "DB NAME";

Try that and see if that works

That should work your username should be root and your host should be "127.0.0.1
 

Kaz

BooYah
Staff member
Nov 16, 2010
3,064
1,025
THE MYSQL HOST IS LOCALHOST? LOl isnt that wrong

Not when your connecting to an external site.
As the server is located on his pc, and his pc isnt linked to cpanel in any way, shape or form, so he needs to redirect the server to where his database is hosted.

Back on topic, i personally recommend hosting the cms on cpanel and then host the database and server on your pc or vps (which ever your using)
 

Stee

Oh hot damn. This is my jam.
Jun 28, 2011
285
158
Its Not localhost O.O Omg... 127.0.0.1 And root is localhost! ITS NOT LOCALHOST D;

Ye but then id need to prot forward it all and it sucks when you have to do that :/
 

Users who are viewing this thread

Top