MySQL is an open source DBMS which is built, supported and distributed by MySQL AB (now acquired by Oracle)
Author: admin
Explain advantages of MyISAM over InnoDB?
Much more conservative approach to disk space management – each MyISAM table is stored in a separate file, which could be compressed then with myisamchk if needed.
With InnoDB the tables are stored in tablespace and not much further optimization is possible. All data except for TEXT and BLOB can occupy 8,000 bytes at most. No full text indexing is available for InnoDB. The COUNT(*)s execute slower than in MyISAM due to tablespace complexity.
How do you change a password for an existing user via mysqladmin?
mysqladmin -u root -p password “newpassword”
Can you save your connection settings to a conf file?
Yes, and name it ~/.my.conf. You might want to change the permissions on the file to 600, so that it’s not readable by others.
What does tee command do in MySQL?
tee followed by a filename turns on MySQL logging to a specified file. It can be stopped by command note.
Explain the difference between mysql and mysqli in PHP?
Difference : mysqli is the object-oriented version of mysql library functions.
How do you start MySQL on Linux?
/etc/init.d/mysql start