Home >Database >Mysql Tutorial >What language is mysql written in?
mysql is written using C and "C" language; "C" is good at object-oriented programming and can also perform process-based programming. The SQL parser is written using yacc, using C Writing mysql with "C" language can improve the programming quality of large-scale programs and the problem description ability of programming languages.
The operating environment of this tutorial: windows10 system, mysql8.0.22 version, Dell G3 computer.
MySQL is written in C and C.
And used a variety of compilers for testing to ensure the portability of the source code.
Its SQL parser is written in yacc, but it uses a homemade lexical analyzer. MySQL works on many system platforms.
As a large database, Mysql has high requirements for reliability and concurrency, and InnoDB is the default MySQL storage engine.
C is good at object-oriented programming and can also perform process-based programming. C not only has the practical characteristics of efficient computer operation, but is also committed to improving the programming quality and programming language of large-scale programs. problem description ability.
Expand knowledge:
Compared with other large databases such as Oracle, DB2, SQL Server, etc., MySQL has its own There are some shortcomings, but this does not diminish its popularity in the slightest. For general individual users and small and medium-sized enterprises, the functions provided by MySQL are more than sufficient, and because MySQL is open source software, it can greatly reduce the total cost of ownership.
Linux as the operating system, Apache or Nginx as the web server, MySQL as the database, and PHP/Perl/Python as the server-side script interpreter. Since these four software are all free or open source software (FLOSS), you can use this method to build a stable and free website system without spending a penny (except for labor costs), which is called "LAMP" in the industry. or "LNMP" combination.
Recommended learning: mysql video tutorial
The above is the detailed content of What language is mysql written in?. For more information, please follow other related articles on the PHP Chinese website!