Mysql directory path in ubuntu 20.04 tls

Hi
I have backup of database that is more than 500mb and I need to restor in my database but everytime phpmyadmin give me error
I want to restore it by uploading the file in my server then from terminal move it to /mysql/data/ folder
But I don’t know where is the path of mysql

Even I change the php 7.3 { upload_max_filesize and post_max_size } to 1000mb but still have probelm in importing the database

Thanks all of cyberpanel community

Change upload size for PHPmyadmin and upload through it.

Otherwise you can use command line to restore the dump.

1 Like

Change upload size for PHPmyadmin and upload through it.

with this tutorial I did , but I got error


Otherwise you can use command line to restore the dump.

How?

Would you please explain each of theme?

https://support.solarwinds.com/SuccessCenter/s/article/Back-up-and-restore-the-MySQL-database-using-the-command-line?language=en_US

1 Like

Thanks
And please tell me where is the mysql path in your cyberpanel?

I would recommend to avoid going into that folder, you can mess up things.

By the way what is your OS?

Ubuntu 20.04
I just want to know

@usmannasir
With these type of tutorial
type or paste code here

where is my sql path ? I want upload it from my pc with ssh , how should do that?

mysql -u root -p[my_root_password] [mydatabase] < mydatabase.sql

with phpmyadmin I got these errors
image

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.