Difference between revisions of "Command line cheat sheet"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
(Created page with '== MySQL commands == Import data from a SQL dump: <blockquote> mysql -u{{hly|USERNAME}} -p{{hly|PASSWORD}} {{hly|DATABASE}} < {{hly|FILENAME}} </blockquote>')
 
old>Admin
Line 3: Line 3:
Import data from a SQL dump:
Import data from a SQL dump:
<blockquote>
<blockquote>
mysql -u{{hly|USERNAME}} -p{{hly|PASSWORD}} {{hly|DATABASE}} < {{hly|FILENAME}}
mysql -uroot -pPW1234 tslive < import.sql
</blockquote>
</blockquote>

Revision as of 00:26, 22 February 2013

MySQL commands

Import data from a SQL dump:

mysql -uroot -pPW1234 tslive < import.sql