Last active
March 28, 2017 12:49
-
-
Save rolka/0cbcf767175e651d41b04df94c5acb48 to your computer and use it in GitHub Desktop.
MariaDB- useful commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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