dongyuzhu2244 2017-04-11 06:08
浏览 104

仅显示phpmyadmin用户的选定数据库

i have one issue with phpmyadmin user, i have one new user and i want to assign specific database for access and view, i mean i have 5 database in phpmyadmin and i want to show only specific database for other user so its cant be view other database and not able to access them

i try with

On the phpMyAdmin default page (localhost) click on the "Privileges" link Click on the "Add a new User link" Assign the User a login and password Where it says "Database for User" select "None" Leave all checkboxes in global privileges unchecked Press the "Go" button

but using this user can view all the database

  • 写回答

3条回答 默认 最新

  • dptt66700 2017-04-11 06:14
    关注

    Create the user with only that database permission.

    grant all on `db_name.*` to `'username'@'localhost'`;
    

    For details Information Click Here

    评论

报告相同问题?

悬赏问题

  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)