Importing and Exporting MySql databases using command line
Every office has those useful commands which, inexplicably, nobody can remember when actually needed. In my last office, for some reason, it was MySql database imports and dumps. For nostalgic reasons I’m going to leave this here:
mysql -u username -p [database_name] < [path_to_file.sql]
mysqldump -u [username] -p [database_name] > [name_of_file.sql]
An easy trick for remembering this is to notice the direction of the less than and greater than signs. Greater than points away from the database (exporting) whereas less than points towards the database (importing).
You might like:
Did you know that Sass offers debugging tools to make CSS styling easier? Learn how to use @debug, @warn and @error to send debug messages to your console.
Using Bulma but don't know how to integrate it with Nuxt? I'll show you how to load Bulma into your Nuxt project with full control over variables.