Hello,
Sorry, but I am pretty new into MySQL and stuff.
I exported a file via phpMyAdmin from my hosted server and am trying to import it into my Server and MySQL that I installed locally on my PC (using XAMPP).
Now I can get into the databases that were installed as demo when installing XAMPP, via phpMyAdmin.
I want to import the whole database I exported and is saved in file: D:\WWW\DAP-Basic\SQL\DAP_Basic.sql
In phpMyAdmin, I just go to a random database (cdol), click the "SQL" tab and than type the following line in the textbox with the header "Run SQL query/queries on database cdcol: "
shell> mysqlimport db_name D:\WWW\DAP-Basic\SQL\DAP_Basic.sql
This returns the following error:
#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 'shell> mysqlimport db_name D:\WWW\DAP-Basic\SQL\DAP_Basic.sql' at line 1
What should I do?? Include something like username and password of the server or something???? Can I refer to "D:\WWW..."
Please explain in dummy language!!
Thanks,
Joost