MySQL SOURCE Error

DarkCoderSc

New Member
I have an issue with the MySQL SOURCE command. I am getting the following error: \[code\]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 'SOURCE /var/www/apps/modx_install.sql' at line 1\[/code\]The query I am executing is as follows:\[code\]mysql_query('SOURCE /var/www/apps/modx_install.sql;')\[/code\]I was wondering what I was doing wrong here as I have read from several sources that this is the correct syntax.Thanks
 
Back
Top