Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // --> Tools --> Build System --> Build New System
- Sublime MySQL Build System for UBUNTU
- {
- "cmd": ["/opt/lampp/bin/mysql", "-u", "root", "-e", "source $file", "-t"],
- "selector": "source.sql"
- }
- ---------------------------------------------------
- Make Any commnad.sql file And Type MySQL Command.
- Press "Ctrl + B"
- ---------------------------------------------------
- /opt/lampp/bin/mysql -u root //MySQL Path
- use DataBaseName //DataBaseName
- show tables;
- ---------------------------------------------------
- SELECT tbl_subcategory.*, tbl_category.name AS category_id_name FROM tbl_subcategory, tbl_category WHERE tbl_category.id = tbl_subcategory.category_id
- Mac Path : "/Applications/XAMPP/xamppfiles/bin/mysql"
- Win Path : "D:\\xampp\\mysql\\bin\\mysql.exe"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement