首页 > 编程知识 正文

cmd如何连接oracle数据库,cmd命令启动MySQL服务

时间:2023-05-05 04:37:39 阅读:10709 作者:3192

同时按键盘上的win徽标r选择cmd,用回车键打开cmd,然后在命令行中键入mysql -u root -p

只有这句话是“mysql -u root -p”,p后面是分号“; 请不要忘记没有“。 否则,将报告一个错误,警告用户不要在cmd命令行中输入密码。 这不安全。

正确的示例:

c :usershemiao MySQL-uroot-penter password : * * * welcometothemysqlmonitor.command send with; org.yourmysqlconnectionidis 6服务器版本:5.7.17-logmysqlcommunityserver (GPL ) Copyright (c ) c ) 2000,2000 Oracle and/oritsaffiliates.all rights reserved.oracleisaregisteredtrademarkoforaclecorporationand/oritsaffiliates.other

c :usershemiao MySQL-uroot-p; MySQL : [ warning ] usingapasswordonthecommandlineinterfacecanbeinsecure.error 1045 (28000 ) :accessdeniedforuser'ror

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。