installation: open terminal and type
sudo apt-get install mysql
login to mysql server with a username and password:
mysql -u <user-name> -p
When prompt asks to enter password, enter password
mysql essential commands:
show databases;
//shows existing databases
use <database-name>;
//selecting a database
show tables;
//shows tables in the current database
select * from table1;
//selects all records from table1
sudo apt-get install mysql
login to mysql server with a username and password:
mysql -u <user-name> -p
When prompt asks to enter password, enter password
mysql essential commands:
show databases;
//shows existing databases
use <database-name>;
//selecting a database
show tables;
//shows tables in the current database
select * from table1;
//selects all records from table1
It is not necessary to change the settings from Php.ini, you can easily do it from below method:
Goto :
[Base-Url] / sites / default /
Open, settings.php which you should have renamed from default.settings.php
Edit the file, and put this on the very beginning of file:
ini_set('max_execution_time', 0);
Run, it will work, no need to restart your apache service. Cheers :)