GRANT <privilige level> ON *.* TO 'username'@'%' IDENTIFIED BY 'password'; FLUSH PRIVILEGES;
GRANT <privilige level> ON dbname.* TO username@'xx.xx.xx.xx' IDENTIFIED BY 'password'; FLUSH PRIVILEGES;
kill <Id>;
SELECT USER(),CURRENT_USER();
SELECT host, user, password FROM mysql.user;
Note: For MySQL replace password with authentication_string
mysql -u root -p dbname < schema.sql
SET @DATABASE_NAME = 'name_of_your_db'; SELECT CONCAT('ALTER TABLE `', table_name, '` ENGINE=InnoDB;') AS sql_statements FROM information_schema.tables AS tb WHERE table_schema = @DATABASE_NAME AND `ENGINE` = 'MyISAM' AND `TABLE_TYPE` = 'BASE TABLE' ORDER BY table_name DESC;
You will get a list of tables to alter that you can paste into mysql.
Click [here] for info regarding this topic.
Click [here] for info regarding this topic.
Click [here] for info regarding this topic.