shepher
shepher copied to clipboard
How to Import db/init.sql in to MySQL?
Hi, I've been searching for this since I am a newbie in Ubuntu, how to exactly import db/init.sql into MySQL? I've used sudo mysql -u my_username shepher < ~/shepher/db/init.sql
but this ask me for a password Enter password: ERROR 1045 (28000): Access denied for user 'my_username@'localhost' (using password: YES)
I simply don't know. How to correctly import db/init.sql into MySQL?