Nieuws

node osm_to_mysql_dump.js [infile].osm > [outfile].sql You can then import the SQL-file into a MySql-Database with your mysql-native client or something like phpMyAdmin.
Option 3: the command line Tried and true, the command line will always be the most efficient—though not the most friendly way—to accomplish a database export/import.
Import json file to mysql database through command line - c4ei/json2mysql ...
Jack Wallen explains how to add data into a MySQL table from the command line.
If that's copy and pasted from your dump file, you're missing a space after the '--' on line 4 (the line full of dashes). MySQL spec calls for spaces after comments.
Whether you're running a LAMP stack on Ubuntu or CentOS, you need to back up your MySQL databases. Learn how to do this with the help of the mysqldump command.