In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is to share with you about how to use sql-parser components in phpMyAdmin, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
PhpMyAdmin is an open source database management tool running on the web side, which supports the management of MySQL and MariaDB databases. PhpMyAdmin program mainly uses php and javascript development, its installation and use are relatively simple and there have been a lot of related introduction will not be repeated, today is to introduce a core component of the source code sql-parser.
Introduction to sql-parser
The main purpose of sql-parser component is to carry out lexical analysis and syntax analysis of SQL sentences, and then to realize the requirements of deconstruction, processing, replacement and reassembly of SQL statements. In addition, it can also process SQL by highlight. Sql-parser is implemented in pure PHP language, and it is also one of the few modules in the whole phpMyAdmin source code that has a clear code architecture and conforms to the current PSR standard specification in the PHP world.
Sql-parser component installation
Php,git client and composer php package management tools need to be installed beforehand.
Margin@margin-MB1:~/tmp$ sudo git clone https://github.com/phpmyadmin/sql-parser.gitmargin@margin-MB1:~/tmp$ cd sql-parser & & sudo composer install
After the component is installed, the specific call is described below.
Parsing ordinary sentences
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.