I have a hosting which included some database problem is I can not access to mysql.
database are in .ibd / .frm
I have a few problems:
- I don't know the password of mysql ( I did not create it) and don't know how to reset it
- I don't know how to export the database. I tried to install phpmyadmin but because I don't know the password I can not connect
- I tried to connect with Mysql Workbench but I got the result: Failed to connect to mysql (lost connection to Mysql Server at "reading initial communication packet, system 0
When I try to follow procedure to reset mysql password I did first:
sudo mysql stop
but I get the following error:
sudo: unable to open /etc/sudoers.d/README: No such file or directory
stop: Unknown instance:
How can I get access to this database and what is the best way to export it?