I need Your Assistance

Status
Not open for further replies.

toyin1204

New Member
Messages
5
Reaction score
0
Points
0
I'm trying to move my old php database to my new server. So when I downloaded the .sql file I tried uploading it to a new database via a phpMyAdmin panel. Here is the error I received:


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: <?
$IP = $HTTP_SERVER_VARS["REMOTE_ADDR"] ;


SQL query:

<? $IP = $HTTP_SERVER_VARS["REMOTE_ADDR"] ;

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 '<?
$IP = $HTTP_SERVER_VARS["REMOTE_ADDR"]' at line 1
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
That's a PHP script, not a database file. Are you sure you downloaded the right thing?
 
Status
Not open for further replies.
Top