Comments on: MySQL Add User: How to Create and Grant Privileges in 2024 https://www.hostinger.co.uk/tutorials/mysql/how-create-mysql-user-and-grant-permissions-command-line Fri, 01 Mar 2024 22:10:01 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: Domantas P. https://www.hostinger.co.uk/tutorials/mysql/how-create-mysql-user-and-grant-permissions-command-line#comment-544990 Thu, 26 Jan 2023 12:29:28 +0000 http://blog.hostinger.io/hostinger-tutorials/?p=3549#comment-544990 In reply to Paul Lister.

Hi there.

Based on the error you’re getting, it seems that you’re accessing PuTTY with wrong password, hence I would suggest either resetting your SSH password, or check this article to double-check if PuTTY was configured correctly.

As for all privileges, I’d like to note that it’s not supported on Shared and Cloud Hosting plans, you can grant super privileges on VPS hosting. If you want to update certain privileges for your database for your current hosting plan, you can refer to this article.

]]>
By: Paul Lister https://www.hostinger.co.uk/tutorials/mysql/how-create-mysql-user-and-grant-permissions-command-line#comment-537986 Sat, 21 Jan 2023 15:29:17 +0000 http://blog.hostinger.io/hostinger-tutorials/?p=3549#comment-537986 I have a Shared Web Hosting account. I log in to PuTTY as instructed. Following Step 1:

-bash-4.2$ mysql
ERROR 1045 (28000): Access denied for user ‘u1393xxxxx’@’localhost’ (using password: NO)

I have also tried “mysql -u root” and “mysql -u -root -p” with various passwords with no success. When I log in with an existing db user credentials, the user does not have permission to grant privileges. Other help articles speak of a “.db_password” file which does not exist in my folders. Please help.

]]>
By: Tomislav T. https://www.hostinger.co.uk/tutorials/mysql/how-create-mysql-user-and-grant-permissions-command-line#comment-169899 Fri, 06 Nov 2020 08:14:53 +0000 http://blog.hostinger.io/hostinger-tutorials/?p=3549#comment-169899 In reply to Sachin Sharma.

Hey there Sachin! Thanks for messaging us! 🙂
The error you are getting happens due to using the wrong password or not having the correct permissions. Make sure the password and permissions are set correctly 🙂

]]>
By: Sachin Sharma https://www.hostinger.co.uk/tutorials/mysql/how-create-mysql-user-and-grant-permissions-command-line#comment-146366 Sat, 15 Aug 2020 10:00:11 +0000 http://blog.hostinger.io/hostinger-tutorials/?p=3549#comment-146366 I am getting below error. how can fix
Failed to drop or create the database. Do it yourself before installing. ERROR 1045 (28000): Access denied for user ‘new_user;’@’localhost’ (using password: YES)

]]>