Microsoft Windows XP [版本 5.1.2600] (C) 版权所有 1985-2001 Microsoft Corp.C:\Documents and Settings\chengang>cd\C:\>cd mysql\binC:\mysql\bin>mysql -h172.20.6.250 -udeveloper -p Enter password: ******* Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 4462 to server version: 4.1.1-alpha-standard-logType 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql> show databases; +-----------+ | Database | +-----------+ | smis | | smis_fs | | smis_test | | test | +-----------+ 4 rows in set (0.44 sec)
-------------------------------------
假如,mysql的用户密码,我也得到了呢?
-----------------------------------??通过ip连接?sqlserver的我会。mysql没玩过
enter password:******172.20.6.250为mysql服务器地址,wxylvmnn是连接用户名
连上mysql以后用SHOW DATABASE;就可以看到所有可访问的数据库,然后干你想干的。
enter password:******
连上mysql以后用SHOW DATABASE。
-------------------------
很明显是dos操作。就可以看到所有可访问的数据库??dos状态下能看到??
(C) 版权所有 1985-2001 Microsoft Corp.C:\Documents and Settings\chengang>cd\C:\>cd mysql\binC:\mysql\bin>mysql -h172.20.6.250 -udeveloper -p
Enter password: *******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4462 to server version: 4.1.1-alpha-standard-logType 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql> show databases;
+-----------+
| Database |
+-----------+
| smis |
| smis_fs |
| smis_test |
| test |
+-----------+
4 rows in set (0.44 sec)