recently we moved our sites from another hosting company to godaddy. I exported our mysql file from previous host and imported into godaddy’s by creating a new database and importing the sql file. Now when I go to our membership form (php file) fill out the info I get these errors:
[LEFT] Warning: mysql_connect(): Unknown MySQL Server Host ‘wizradio_members’ (0) in /home/content/w/i/z/wizradio/html/membership/config.php on line 17
Warning: mysql_select_db(): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2) in /home/content/w/i/z/wizradio/html/membership/config.php on line 18
Warning: mysql_select_db(): A link to the server could not be established in /home/content/w/i/z/wizradio/html/membership/config.php on line 18
Warning: mysql_connect(): Unknown MySQL Server Host ‘wizradio_members’ (0) in /home/content/w/i/z/wizradio/html/membership/config.php on line 17
Warning: mysql_select_db(): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2) in /home/content/w/i/z/wizradio/html/membership/config.php on line 18
Warning: mysql_select_db(): A link to the server could not be established in /home/content/w/i/z/wizradio/html/membership/config.php on line 18
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/content/w/i/z/wizradio/html/membership/config.php on line 48
Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2) [/LEFT]
[LEFT] [/LEFT]
[LEFT][FONT=Arial][SIZE=2][COLOR=#0000ff]Line 18 in my PHP shows:[/COLOR][/SIZE][/FONT][/LEFT]
[LEFT][FONT=Arial][SIZE=2][COLOR=#ff0000]mysql_select_db($database);[/COLOR][/SIZE][/FONT][/LEFT]
[LEFT] [/LEFT]
[LEFT][FONT=Arial][SIZE=2][COLOR=#0000ff]line 48 shows:[/COLOR][/SIZE][/FONT][/LEFT]
[LEFT][FONT=Arial][SIZE=2][COLOR=#ff0000]mysql_query(“ALTER TABLE wizprofiles ADD COLUMN hearabout char(70)”,$db)[/COLOR][/SIZE][/FONT][/LEFT]