命令提示字元下登入mysql資料庫,提示符mysql

來源:互聯網
上載者:User

命令提示字元下登入mysql資料庫,提示符mysql

格式:<span style="font-family: Arial, Helvetica, sans-serif;">mysql -h 伺服器位址 -P 伺服器連接埠號碼 -u使用者名稱 -p </span>C:\Users\Administrator>mysql -h localhost -P 3390 -uroot -p      (連接埠號碼前的-P是大寫字母)Enter password: *********Welcome to the MySQL monitor.  Commands end with ; or \g.Your MySQL connection id is 55Server version: 5.6.21-log MySQL Community Server (GPL)Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql>

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.