• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved MariaDB Backup issue

Quinten

Regular Pleskian
Server operating system version
Ubuntu 22.04.1 LTS
Plesk version and microupdate number
Plesk Obsidian Version 18.0.49 Update #2
Hello,

Since a week ago there seems to be an issue with my backups on one of my servers
1675779859938.png
The backup is incomplete with a bunch of these same message.
I looked up the error and found some topics on ehre but none of the solutions seem to work for me.
I attached my 50-server.cnf and the my.cnf are there any other relevant files to look at?

Help would be much appriciated
 

Attachments

  • cnf.zip
    2.6 KB · Views: 4
It seems that skip-name-resolve = 1 has been added to your my.cnf lately? In that case, name resolution that is required to resolve "localhost" does not work. If there is no specific reason for that line, please remove it or comment it, then restart the database server, then try the backup again. It should then work as before without errors.
 
It seems that skip-name-resolve = 1 has been added to your my.cnf lately? In that case, name resolution that is required to resolve "localhost" does not work. If there is no specific reason for that line, please remove it or comment it, then restart the database server, then try the backup again. It should then work as before without errors.
Hi Peter thank you for your reply.
I have removed the skip-name-resolve = 1 from my.cnf

However i now seem to have a different error:
1675782819392.png
 
Anyone have any idea? because the user does exist but im not fully sure what the error means
 
Maybe some misunderstanding here. You'll need to check users in the database itself, not in the frontend. A user record that looks similar might exist, but is it really exactly the same with the global % wildcard permissions as the error says? There could be an entry for localhost or 127.0.0.1 or another specific IP, too. You need the exactly right entry. You could add such an entry to your users table in the database.

Another option could be to remove the view from the database that the definer is associated with and re-add it later.
1. First get the exact view definition (for later restore). Doing something wrong in this however could result in loss of the view, so please handle with care.
> SELECT VIEW_DEFINITION FROM INFORMATION_SCHEMA.VIEWS WHERE TABLE_SCHEMA = 'dbname' AND TABLE_NAME = 'viewname';
This will output a "select" statement that is the view definition. Store all that information.
2. Drop the view
> DROP VIEW dbname.viewname;
3. Recreate the view using the output you got from above ("select ..."):
> CREATE VIEW dbname.viewname AS select ...
 
How can i check for the entry on localhost or 127.0.0.1 or not?

Also for the view i really dont want to do anything wrong here.
What is the viewname i put there in the query?
 
I seem to have solved the problem by just unchecking the global privileges on the user...
 
Back
Top