Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7045907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:35:14+00:00 2026-05-28T02:35:14+00:00

I have no permission to modify php.ini but use SSH , and in phpmyadmin,

  • 0

I have no permission to modify php.ini but use SSH, and in phpmyadmin, I could only input a file max 2M. But now I have a big size database, so can I use SSH input the big size mysql database without modify php.ini?

put c:/mydata.sql /etc/local/mydata.sql {where is the folder I should upload?}
mysql -u myname -p
mypassword:
mysql>use mydata;
mysql>...  { what is the insert code, it may be depand the fold where I update to the server }

If this method still have a limit with 2M max, How should I do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:35:15+00:00Added an answer on May 28, 2026 at 2:35 am

    import from file:

    mysql --user=DB_USER --password DB_NAME < dump.sql
    

    import from compressed file:

    gunzip < dump.sql.gz | mysql --user=DB_USER --password DB_NAME
    

    import from compressed file on another host (than ‘localhost’):

    gunzip < dump.sql.gz | mysql --host=your.db.server.com --user=DB_USER --password DB_NAME
    

    I wouldn’t specify the password on the command line, as it would get stored in bash history, just leave the --password-option without the actual password and mysql will prompt for it. If you don’t specify this option, mysql will try to login without using a password.

    To your other question, on where to upload your SQL-files: you should know, if are doing anything on a server… alternatively just use the temp-dir as suggested above or create some backup-folder outside of your webroot.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Usually, I try to set my folders to have permission 775, but some web-hosting
I have set permission to allow anonymous user to create page. but when the
I have android.permission.READ_OWNER_DATA but I can't find any reliable code that would explain how
I have an application where I need to open an xml file, modify it,
I've got how to copy one file to another from start, but how could
I've got an MS-Access database stored in a folder (yes, I have 'Modify' permissions
I'm on a shared webhost where I don't have permission to edit the global
How can I determine if I have write permission on a remote machine in
If I have Full Control permission on a list, is there a way for
I have an application that needs to hit the ActiveDirectory to get user permission/roles

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.