trouble with: config.inc.php?

Greg S

New member
You are trying to import PHP code into MySQL, this will not work.

config.inc.php is some sort of php script, which should be executed by a script through your web browser. What you are doing is basically sending the PHP script to MySQL, which of course, MySQL does not understand. What MySQL understands is "SQL", which are statements that look like "

INSERT INTO some_table ....
UPDATE some_table
DELETE FROM some_table
 
When I tried to import the "config.inc.php" to mySQL I got this message:

Error
MySQL said:

#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 connection settings
$db_host = "caneloclassified.db.3662306.ho' at line 1

CAN ANYONE HELP WHATS WRONG?

i have mySQL version 5.0 in Godaddy . com However when I try to import i choose the right version.
 
Back
Top