Hi. I want to retrieve Mysql users list. How to retrieve it? And where these users are stored?Please tell me.Thanks in advance.
select * from mysql.user; Code (markup): or just the name, select User from mysql.user; Code (markup):
possibilities: you didn't put the username in ' ' OR database with name 'mysql' doesn't exists OR forgot one ' or " or } or ] sign. It can be anything. echo your exact query and you'll know more. Before the mysql_query()! In other case you'll get Resource id#n message.