phpMyAdmin reports 'No Privileges'
This was super annoying.
It appears to be a bug with phpMyAdmin.
Clear your browser cookies, what's happening is phpMyAdmin has "cached" the fact that you do not (or possibly didn't have at some point) create database access.
There's no way to reset it other than deleting your cookies for phpMyAdmin in your browser window (to get a new 'session id'), or deleting the session files on the phpMyAdmin web server.
phpMyAdmin "Create database: Documentation No Privileges", how to create database?
This solved my issue, on ssh-ed terminal, I ran:sudo mysql
and on the prompt:
FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON *.* TO 'myUsernameCreatedEarlier'@'localhost;
Then I cleared the cache/cookies on the browser on my computer (not server computer). And logged in on phpMyAdmin web portal. Now I have database creation access.
mysql user has no privileges. \s shows I am logged in correctly. Error messages refer to a user of ''@localhost
I found the answer in another thread.
There was an anonymous user defined for localhost, that was masking my actual username.
Related Topics
How to Subtract One Month from a Date Column
Sql Server Function to Return Minimum Date (January 1, 1753)
How to Calculate Percentage Between Two Numbers Using SQL on Bigquery
Sql Query to Get the Employee Name and Their Manager Name from the Same Table
Find Records from One Table Which Don't Exist in Another
Select Distinct Records on a Join
Subtract Values from Two Columns in SQL Query
Deleting a Specific Character in a String from a Pattern
Select and Compare Two Datetime Columns from Different Table Without Having Any Relation
Retrieve String Between HTML Tags Using Regex
Mysql - Trigger for Updating Same Table After Insert
Wamp Server Error [Local Server - 2 of 3 Services Running]
Sql: Select All Rows If Parameter Is Null, Else Only Select Matching Rows
Checking If a SQL Server Login Already Exists
Sql Server-How to Replace a Date Column With a Current Date When the Column Has a Null Value
Splitting Date into 2 Columns (Date + Time) in SQL
Auto Increment the Column Value by 1 Conditionally in Select Query in SQL