This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Increase MYsql file size Upload
#13
RE: Increase MYsql file size Upload
I followed these methods to import my db to mysql keep getting error for no such file or directory.

mysql -u username -p database_name < file.sql ( like you mentioned above) it didnt work. My first is present inside ( /public_html/mydomain_com/db.sql)

mysql -u dbusername -pdbpassword dbname < /public_html/domain_com/db.sql ( but same error - no such file or directory. ) so what is the path to my .sql if it's not present inside according to ssh.

(10-02-2017, 08:14 PM)betatester3.0 Wrote: I completely forgot that phpmyadmin needs to changes,

re open the php.ini file and find "post_max_size = " and put the size you would like.

so the two that has to be changed to work with phpmyadmin is:
max_file_upload = 5G
post_max_size = 5G
hit ctrl+x then Y to save. That should work aas I just tested it, although It might not display the 5gb max size it might show the previous 2,088kb.

That should work, if it does not then fiddle around with the values of the following:
post_max_size =  
upload_max_filesize =
max_execution_time =
max_input_time =
memory_limit = 256MB

You could do it via ssh, but if you are not familiar with the methods it would be much better for you to use phpmyadmin as it would not cause any problems if you do mess up. although if you mess up using ssh as root user you could do some damage to a important db or file.

I have made change in this but I still want to learn ssh way also cause it's all about getting knowing more to understand better. I will upload via phpmyadmin but first i want to try it via ssh. Most likely I will break some db or something, i will reinstall os and will begin at zero, but its' going to get me learn better.
Reply
Thanks given by:


Messages In This Thread
Increase MYsql file size Upload - by testing - 10-01-2017, 09:02 PM
RE: Increase MYsql file size Upload - by testing - 10-01-2017, 09:34 PM
RE: Increase MYsql file size Upload - by testing - 10-01-2017, 09:49 PM
RE: Increase MYsql file size Upload - by testing - 10-01-2017, 09:58 PM
RE: Increase MYsql file size Upload - by testing - 10-02-2017, 02:48 PM
RE: Increase MYsql file size Upload - by Me.B - 10-02-2017, 06:47 PM
RE: Increase MYsql file size Upload - by testing - 10-03-2017, 01:15 AM
RE: Increase MYsql file size Upload - by testing - 10-03-2017, 06:37 AM
RE: Increase MYsql file size Upload - by TGates - 10-04-2017, 03:56 AM
RE: Increase MYsql file size Upload - by Me.B - 10-04-2017, 04:57 AM
RE: Increase MYsql file size Upload - by testing - 11-20-2017, 05:59 PM
RE: Increase MYsql file size Upload - by TGates - 11-21-2017, 06:22 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
How to set up File Manger for Sentora? donaldaugust 1 3 ,320 01-11-2022, 05:01 AM
Last Post: Nigel
MySQL Database user prefix MosleyCale 1 5 ,011 10-17-2020, 09:11 PM
Last Post: Ron-e
Senator crash problem with mysql provokas 3 9 ,759 08-20-2020, 04:11 AM
Last Post: Your Creator

Forum Jump:


Users browsing this thread: 2 Guest(s)