Professional Documents
Culture Documents
Understanding The Client Server Model, Communication Protocols
Understanding The Client Server Model, Communication Protocols
Using MySQL
MySQL embeds the listener software inside the server component. When you start the MySQL daemon, mysqld process, you start the database server and listener.
Engines
Oracle MySQL supports multiple engines. Each engine has distinct features Only InnoDB enforces referential integrity and the full X/Open XA protocol for distributed transactions.
Engine
InnoDB is the default engine for Oracle MySQL 5.6 for all but the mysql and information_schema databases. These two databases store and manage data using the MyISAM database engine. MyISAM was the default engine for earlier versions of the MySQL database.
Listener
The listener is started by the MySQL daemon (mysqld) when that process starts. The MySQL listener is a subordinate process of the server process, and it runs on the [mysqld] port number you specify in the mysql.ini configuration file. By default, the port number for the listener is 3306.
Listener
You can verify whether or not its running by checking the Windows Services (services.msc) Or you can check at the MS-DOS command line with the following syntax:
netstat -a | findstr /C:LISTENING | findstr /C:3306
Users in MySQL
Users defined within MySQL have a threepart authentication token: user name, password, and host. Users have three possible host values:
localhost Can connect only from the same machine as the MySQL server IP, subdomain, or domain Can connect only from an IP or partially qualified subdomain or domain address % Can connect from anywhere; basically a wildcard host operator across the network