mysql -h IP地址 -u 用户名 -p 密码
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>cd C:\Program Files\MySQL\MySQL Server 5
.1\bin\
C:\Program Files\MySQL\MySQL Server 5.1\bin>mysql -h 192.168.0.156 -u root -p ""
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2130
Server version: 5.0.51b-community-nt-log MySQL Community Edition (GPL)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
mysql 命令 远程连接服务器
最新推荐文章于 2025-05-13 08:15:00 发布
本文详细介绍了如何使用MySQL数据库进行远程连接,包括输入主机IP地址、用户名、密码等关键步骤,并通过Microsoft Windows XP环境下的实践案例展示了具体操作过程。从MySQL服务器版本到社区版特性,再到命令行交互的基本用法,全面覆盖了入门级MySQL数据库操作知识。
6004

被折叠的 条评论
为什么被折叠?



