mysql import

Problems with the Linux version of XAMPP, questions, comments, and anything related.

mysql import

Postby Rondawg » 02. May 2012 00:28

Hey all, i recently bought a linux vps for a game server, Ive been running the server on a windows OS for a while though, So im a linux noob but the problem is when i try to import the .sql i exported from xampp on the windows server i get an error about the Syntax being wrong.

ERROR 1064 (42000): 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 'mysql root mta < ./mta.sql' at line 1

Any help with this would be much apreciated, thanks.
Rondawg
 
Posts: 1
Joined: 02. May 2012 00:21
XAMPP Version: 5.6.3
Operating System: CentOS 5.6 64Bit

Re: mysql import

Postby Altrea » 02. May 2012 05:19

Hi Rondawg,

Rondawg wrote:Any help with this would be much apreciated, thanks.

How should we help you without knowing the .sql file?
All we can say is, that MySQL don't like the file. That is not an Linux only Issue, this could happen on Windows too.
Take a look at the chars before mysql root mta.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6670
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests