站内搜索: 请输入搜索关键词
当前页面: 图书首页 > MySQL Tutorial

MySQL Tutorial

[ Directory ] Previous Section Next Section

Deleting Anonymous Accounts

MySQL creates some anonymous accounts that require no username to log in. We recommend that you delete these. The reasons behind this are covered in detail in Chapter 15, "Securing Your MySQL Installation," in the section "Deleting Anonymous Accounts." You can get rid of these accounts by typing this:


use mysql;
delete from user where User='';
delete from db where User='';
flush privileges;
    [ Directory ] Previous Section Next Section