In the previous project, a script was required to manage mysql. It was originally written in C, because it was confusing with shell. Later, it was found that C was not convenient with shell, after all, shell is super fast and super simple. Finally, the hacker is a self-taught shell. Now I am learning to sell it to get this job done. Hahaha, I have successfully exercised my self-taught ability.
In the previous project, a script was required to manage mysql. It was originally written in C, because it was confusing with shell. Later, it was found that C was not convenient with shell, after all, shell is super fast and super simple. Finally, the hacker is a self-taught shell. Now I am learning to sell it to get this job done. Hahaha, I have successfully exercised my self-taught ability.
For the previous project, a script is required to manage mysql,
I originally wrote one in C, because it was confusing with shell at the time. Later I found that C is not convenient to shell,
After all, shell is super fast and super simple to change. Finally, the hacker is a self-taught shell. Now I want to learn how to deal with this job,
Hahaha, I successfully trained my self-learning ability,
The following is a simple example to show you how to use shell to operate mysql,
Lest you step on a mine and make a detour,
The following example describes the host, user, and password of the mysql database user table;
The Code is as follows: