5 data types supported by MYSQL
INT, FLOAT, VARCHAR, TEXT and DAteTime
How to start the MySQL client ?
MySQL -h dB-mysql.zenit -u uli705_a13 -p
Show existing databases
show databases;
Show all the tables in the database
show tables;
Show all the columns from the table
show columns from products;
How to load data into the table automatically ?
load data local infile “fileName”
into table tableName
fields terminated by “,”
(columns name);
How lo login and execute a command file in a single line ?
mysql -h hostNam -u username -p
databaseName < command.txt