No privileges on wamp server phpmyadmin - mysql

I installed WAMP on Windows 8, and I'm having problems with MySQL privileges in phpMyAdmin.
Here, you can see the screenshot:
As you can see, there is no privileges tab, and I can't a create new database.

Solution:
Click on the User accounts tab
Click on a user account showing no privileges
Click on the Edit privileges link and tick all the check boxes

i just write UserName root and leave the password blank it work for me

Go to phpmyadmin webpage under user accounts tab and check if the root has all_privileges
and still if you are not able create db
Go to mysql console login as root and type: flush privileges;
now reload phpmyadmin page and you should be in synch

for no priviledge error, the solution is this:
It is not a file permission issue, the mysql user you logged in as doesn't have the right to create databases. You need to login as root for full permission, which I understand you are not. If I am not mistaken, the default password for "root" is empty (blank, nothing, ""), so try that. Once you are logged in as root in phpMyAdmin, you will be able to create databases or create another user with full permission.
kudos to:: http://www.theadminzone.com/forums/showthread.php?t=98676

Hey i just tried this and it worked type the "root" as username and the password you set during installation.
Worked

Your problem is your authentication. If you are accessing phpMyAdmin through WAMP, then you need to check the files in WAMP for the proper configuration.

You might be able to start the MySQL server with --skip-grant-tables option. Then access the Users tab in phpMyAdmin, and delete the password for root#localhost and root#127.0.0.1.

you just ned to enter the username as 'root' and leave password blank.
You will be able to create database.

Related

WampServer mySQL

I have a mySQL database problem - I'm a newbie to this:
I've installed WAMP Server and I'm able to log into localhost then phpmyadmin to give the screen below (right image). But I get No xNo Privileges in red -- I see from online examples that I should see "Create new database":
Suggestions are welcome.
[I have no password and the login is just 'local']
You are getting this message because you have made up a userid and password.
MySQL's initial installation state has ONE userid defined called root.
This is the case regardless of how you installed MySQL, unless the install asks you for a password at installation time.
That is the SUPER USER and can do anything.
By default (again which ever way you install MySQL) this root user has no password.
So login to phpMyAdmin using :-
username = root
password = (leave this blank, empty)
Press the Login button.
You will now be loged in as root.
PS.
Its a good idea to add a password to this username, BUT PLEASE DONT FORGET IT, as recovery can be a pain.

Phpmyadmin - Mysql no privileges

I installed wamp 2.1 on windows 7. However when i open phpMyAdmin, I get the error, Mysql 'No Provileges'. I uninstalled wamp and reinstalled it a few times, but it doesn't help. Does anyone know how to solve this issue?
Also, when i tried creating a database from mysql console, i am getting the following error:
ERROR 1044 <42000>: Access denied for user ''#'localhost' to database 'a_db_name'
Thank God and to all helped.
Its simple.
Must! click logout icon in phpadmin page
In login page, type:
username:root password: (blank)
surprise. now you can happily create your database.
Are you logging into MySQL as root? You have to explicitly grant privileges to your "regular" MySQL user account while logged in as MySQL root.
First set up a root account for your MySQL database.
In the terminal type:
mysqladmin -u root password 'password'
To log into MySQL, use this:
mysql -u root -p
Edit:
To set the privileges manually start the server with the skip-grant-tables option, open mysql client and manually update the mysql.user table and/or the mysql.db tables. This can be a tedious task though so if what you need is an account with all privs I would do the following.
Start the server with the skip-grant-tables option
Start mysql client (without a username/password)
Issue the command
flush privileges;
which forces the grant tables to be loaded.
Create a new account with the GRANT command something like this (but replacing username and password with whatever you want to use.
GRANT ALL on *.* to 'username'#'localhost' identified by 'password';
Restart the server in normal mode (without skip-grant-tables) and log in with your newly created account.
Refer this MySQL docs.
Take a look at my topic regarding this issue, which takes some of the above.
MAMP mysql broken root user
You need to shutdown your mysql install and restart it from the command line properly like is indicated above. In my topic I have full clear instructions on how to do so. My instructions are for MAMP but you should be able to adapt it for your install.
Simple solution. Just find the icon right to "home" in PhpMyAdmin and click to logout. Then login using username "root" and password ""(blank). This will work accordingly.
username ought to be root and keep the password null(keep the password field blank)
right click on the wamp icon and goto mysql console.
Login with password if you have set any.By default the password is blank and username is 'root'
Once you are in mysql prompt execute
FLUSH PRIVILEGES;
now quit the command prompt and you are good to go.
in step 1 .inter your databasevery important.
in step 2 .select your database via all tables .
in step 3. backup type=replace & export.
in step 4 import database in my sql.
attention please:in import your database...
all table must view & selected in step 4.

wamp mysql user with password

hey guys i have installed wamp server with mysql and i have one user root without password. but now i want create one another user with password. when i was create user with password and check his connection with mysql_connect() its give me error like this
Access denied for user 'Dest'#'localhost' (using password: YES)
But password is realy correct. what can i do? i was delete this user and create other user but i have the same problem. if anyone knows that problem please help me
Hey Guys Problem Has Been Solved. Problem was that when i was create user i was choose % this local and global hosts but for wamp global accses for sql base is disabled with defoult and i think poblem is that. when i create user with Localhost its worked fine. thanks all for help :)
If you try to connect as root and get the above error, it means that you do not have a row in the user table with a User column value of 'root' and that mysqld cannot resolve the host name for your client:
from the mysql prompt execute this command to be able to change any password
FLUSH PRIVILEGES;
for more information
https://help.ubuntu.com/community/MysqlPasswordReset

How to reset MySQL root user password and privileges

I assigned a password to the root MySQL user in XAMPP some times ago. I recently tried to undo that and give it no password but it's not working.
I tried setting the password to an empty string using mysqld --skip-grant-tables and then using the mysql command line directly. It looks like it works, the root user no longer has a password, however if I login in PhpMyAdmin I cannot see any of my databases, only an "information_schema" and a "test" database. If I look at the User tab, it seems to have all the privileges though:
Any suggestion on how to fix this issue?
Note: I checked with the command line, all my databases and tables are still there, I just cannot see them in PHPMyAdmin.
Try removing the anonymous user who is allowed to connect from any host. My feeling is that that row is taking precidence over the row for root when MySQL validates the login.
If you have removed that Anonymous user and the issue still occurs, try setting a password to root and the host to localhost then connect again.

PhpMyAdmin password

I get the error #1045 - Access denied for user 'root'#'localhost' (using password: NO)
after I accidentaly changed the password in phpmyadmin for root and 127.0.0.1 . the problem is i cannot change common.lib.php. I want to revert these changes in mysql somehow... Doe to the security of the server i cannot change much
I hope you can access the mysql server administration. As I know the root is the main user in MySQL it'll be a problem if you cannot access it. If you have a user with the same level, try to change the password there if possible.
Here's the step on how to reset the root password in MySQL
How to Reset the Root Password
I was also dependent in phpmyadmin before until I know sqlyog and MySQL Query Browser and WorkBench. Have a look on this as an alternative on phpmyadmin.
Download MySQL Workbench
SQLyog free download
It's been a while since I've used phpMyAdmin, but if I'm not mistaken, it stores it's passwords in the mysql database it self. So, if you are able to get access to the command-line of the server, you are able to change the password using simple SQL statements.
Go to /etc/phpmyadmin folder.
Open config-db.php
Here you will find your default username and password