Skip to content

Instantly share code, notes, and snippets.

@rolka
Last active March 28, 2017 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rolka/0cbcf767175e651d41b04df94c5acb48 to your computer and use it in GitHub Desktop.
Save rolka/0cbcf767175e651d41b04df94c5acb48 to your computer and use it in GitHub Desktop.
MariaDB- useful commands
Export database: mysqldump -u username -p database_name > data-dump.sql
Import database: mysql -u username -p new_database < data-dump.sql
Specify different port number: mysql -P 3308 -u root -p
<?php echo '<br/>', count(get_included_files()), ' PHP files were required to generate this page.<br/>';?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment