dmcblogs
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Newbie Doesn’t Understand Error MessageThanks for your help Michael because you’ve gotten me off to a good start but now I have another error message appearing when I try to upload the corrected wp-config.php file to the MySQL database on my GoDaddy account. Here’s the message:
“Error
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem
ERROR: Unknown Punctuation String @ 1
STR: <?
SQL: <?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘blogname’);SQL query:
MySQL said: Documentation
#1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘blogname’)’ at line 1″Also, now I get the following message when I try to launch my blog:
“Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at xxxxxxadmin01.secureserver.net. This could mean your host’s database server is down.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?If you’re unsure what these terms mean you should probably contact your host….”
I’ve tried to make sure I’ve typed the correct username, password and hostname and I know the database server is running since I just uploaded the new wp-config.php file to to the database.
Where can I find help on these error messages?
DMC