Moved Server - Broke Drupal Site

Get help with any scripts or php pages.

Moved Server - Broke Drupal Site

Postby kingkey » Wed Sep 17, 2008 4:50 pm

Yes I had did a fresh drupal install. Everything was working but I asked if the Red5 and Flash Media Server was on the server I was on. They said no and changed it over free of charge. I did not lose the DB I just made and configured. But now I am using the same settings as when it was working.
Code: Select all
$db_url = 'mysql://myid:mypassword@localhost/myid_myDB';
$db_prefix = '';

is giving me this:
Code: Select all
The MySQL error was: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).

Currently, the username is myid and the database server is localhost.

Then I put a support ticket in trying to figure out if the server name has been changed from localhost. Localhost was working for me when I installed. The support person told me that it has changed form localhost to 66.249.137.131. But in the myphpAdmin it says the user is kingkey@localhost. Weird????
Code: Select all
$db_url = 'mysql://myid:mypassword@66.249.137.131/myid_myDB';
$db_prefix = '';

is giving me this:
Code: Select all
The MySQL error was: Access denied for user 'kingkey'@'dwhs144.dwhs.net' (using password: YES).

Currently, the username is myid and the database server is 66.249.137.131.


I am wondering if I have to delete the db and start fresh. But I am also wondering if I am using the right path. Anyone up for this??? :(
kingkey
Newbie
 
Posts: 4
Joined: Tue Sep 09, 2008 8:48 pm

Postby Tommy » Thu Sep 18, 2008 9:57 pm

I would remove and re-add the username from your cpanel. Then add the new username info to the database and make sure it matches in the script.
-Tommy
Customer Service Enthusiast
Frequently Asked Questions
Tommy
Site Admin
 
Posts: 522
Joined: Fri May 16, 2003 9:46 am
Location: HB

Postby kingkey » Fri Sep 19, 2008 4:08 am

I changed it all up. I added a new database called one and a user with the same name with all permissions. This is what I am getting:
Code: Select all
The MySQL error was: Access denied for user 'one'@'dwhs144.dwhs.net' (using password: YES).

Currently, the username is one and the database server is 66.249.137.131.


Do you think some files got corrupted in moving servers?
kingkey
Newbie
 
Posts: 4
Joined: Tue Sep 09, 2008 8:48 pm

Solution

Postby kingkey » Fri Sep 19, 2008 10:23 am

OK, I figured it out. When they changed over the server I did not get a new link for C PANEL.
I was wondering what was wrong. Turns out I was running on the old C PANEL.

Solution:
I pinged my domain and it was giving me a different ip. So then I change the settings for the C Panel address log in page. Then bam I am in the new C Panel with a different shared IP for my account. I was wondering why a simple two line script was not working. I pulled my hair out for so many days and it was not my fault :x.

Also I am not seeing anything about red5 or the Flash Media server on this C Panel. Do I have to install something or another. Let me know...
:P
kingkey
Newbie
 
Posts: 4
Joined: Tue Sep 09, 2008 8:48 pm

Postby Tommy » Fri Sep 19, 2008 2:42 pm

Its not listed or anything on the server it's added to the root of the server with default paths.
-Tommy
Customer Service Enthusiast
Frequently Asked Questions
Tommy
Site Admin
 
Posts: 522
Joined: Fri May 16, 2003 9:46 am
Location: HB

Postby SeniorGuapo » Mon Jan 12, 2009 9:00 pm

true... true
SeniorGuapo
Webmaster status
 
Posts: 10
Joined: Mon Jan 12, 2009 5:37 pm


Return to PHP and Script Support (new)

Who is online

Users browsing this forum: No registered users and 1 guest

cron