doris安装好后,不带 mysql client,但支持mysql协议。你自行安装mysql client就可以用。程序访问的话 jdbc 也可。

亚哲 <573303...@qq.com> 于2020年11月17日周二 上午11:09写道:

> 嗯,doris安装好后,没有用过root用户,密码是默认为空;
> 刚才我用Navicat连接后(没输密码),右键命令列界面可以直接修改密码;
> 另外,doris安装后不带mysql的命令么?
>
> ------------------ 原始邮件 ------------------
> *发件人:* "ling miao" <lingm...@apache.org>;
> *发送时间:* 2020年11月17日(星期二) 中午11:06
> *收件人:* "亚哲"<573303...@qq.com>;
> *主题:* Re: 修改root密码
>
> 如果你没设置root密码的话,是可以免密登录的类似这样:
>
> mysql -h 127.0.0.1 -P 9030 -uroot
> Welcome to the MariaDB monitor.  Commands end with ; or \g.
> Your MySQL connection id is 55
> Server version: 5.1.0
>
> Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
>
> Type 'help;' or '\h' for help. Type '\c' to clear the current input
> statement.
>
> MySQL [(none)]>
>
> 你的root密码确定没设置吗?
>
> 亚哲 <573303...@qq.com> 于2020年11月17日周二 上午10:43写道:
>
>> root用户默认为空,被安全扫描为弱口令,需要修改密码。
>>> 这是官网文档的截图:
>>>
>>> 执行命令如下:
>>> mysql -h ip -P9030 -uroot
>>> 返回结果:ERROR 1045 (28000): Access denied for user 'root' (using password:
>>> NO)
>>> 怎么处理呢?可不可以像mysql一样跳过输入密码的步骤?
>>> 请指教,谢谢。
>>>
>>>

Reply via email to