Use the exclamation mark (! A method that prohibits user terminals from entering.
Copy Code code as follows:
Mysql> grant all privileges in wubx.* to ' wubx ' @ ' 172.16.100.185′identified by ' fd52!wubx&, ';
Query OK, 0 rows Affected (0.00 sec)
mysql>quit;
#mysql-H 172.16.100.185-u wubx-pfd52!wubx&,
-bash:!wubx@,: Event not found
Take a closer look, it turns out he did! The following string is executed as a command. Also tried a navicat management end, there is a problem of abnormal password.
In the measurement of the program is not available, write a PHP test.
Copy Code code as follows:
$link = mysql_connect (' 172.16.100.185′, ' wubx ', ' fd52!wubx&, ');
if (!link) {
Die (' Could not connect: '. Mysql_error ());
}
Echo ' Connected successfully '; mysql_close ($link);
?>
#php testdb.php
Connected successfully
Also look at the program can be normal identification.
PHP can still be OK to pass.