User Tools

Site Tools


keller_and_evans_lab:my_sql

This is an old revision of the document!


MySQL

Connecting to MySQL server in bash

 # Connect to mysql server
 mysql --host=<ip.address> --user=<username> --password=<password>
 

MySQL commands

show databases; # show the databases use userdata_schema; # connect to a particular database show tables; # list the tables within the database select * from table_name limit 10; # to see what's in a table (first ten entries)

keller_and_evans_lab/my_sql.1448843206.txt.gz · Last modified: 2015/11/29 17:26 by scott