mysql用户名长度_如何增加PhpMyAdmin / mysql用户帐户的用户名长度?
ALTER TABLE t1 MODIFY col1 VARCHAR(2000);
如果是MySQL的User表,則以root身份登錄
mysql --user=root mysql -pPASSWORD
ALTER TABLE user MODIFY user CHAR(100);
commit;
以上不推薦
感謝您的反饋.我已經(jīng)嘗試了上述內(nèi)容,并且可以成功更改列用戶.但是,MySQL手冊警告它
MySQL user names can be up to 16 characters long. Changing the maximum length is not supported. If you try to change it, for example by changing the length of the User column in the mysql database tables, this will result in unpredictable behavior. (Altering privilege tables is not supported in any case.) Operating system user names might have a different maximum length. For example, Unix user names typically are limited to eight characters.
謝謝@BoltClock提及它.
總結(jié)
以上是生活随笔為你收集整理的mysql用户名长度_如何增加PhpMyAdmin / mysql用户帐户的用户名长度?的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mysql创建新用户方法_Mysql创建
- 下一篇: markdown流程图多分支_提高生产力