Results 1 to 10 of 10
-
18th Jun 2011, 07:03 PM #1OPMemberWebsite's:
Dlwave.info FlickW.com DirtyDingo.org SoftLayer.com KWWHunction.com WorldSex.comHow to IMPORT MySQL database using SSH in Kloxo On VPS ??
How to IMPORT MySQL database using SSH in Kloxo On VPS ??
The Rock Reviewed by The Rock on . How to IMPORT MySQL database using SSH in Kloxo On VPS ?? How to IMPORT MySQL database using SSH in Kloxo On VPS ?? :facepalm: Rating: 5
-
18th Jun 2011, 07:17 PM #2MemberWebsite's:
ihide.info experthide.com hideonthe.netCode:mysql -u username -p database_name < dumpfile.sql
-
18th Jun 2011, 07:28 PM #3MemberWebsite's:
EastsideHosting.com MediaONAIR.com ImgWiz.com cPadmin.net EastsidePCWorks.com HostedTalk.comAwesome useful tool, I have coded a ssh script once before because I could never remember the correct syntax.
Code:echo "MySQL Username" read username echo "MySQL Database" read database echo "MySQL File" read file mysql -u $username -p $database < $file
EastsideHosting - (Web Hosting, Proxy Hosting, Reseller Program)
MediaONAIR - (SHOUTcast Servers, ICEcast Servers, Reseller Program)
Server Administrator - (Dedicated Servers, VPS Management, One Time Services)
ImgWiz - (Free Image Hosting)
-
18th Jun 2011, 07:38 PM #4OPMemberWebsite's:
Dlwave.info FlickW.com DirtyDingo.org SoftLayer.com KWWHunction.com WorldSex.com
-
18th Jun 2011, 07:46 PM #5MemberWebsite's:
EastsideHosting.com MediaONAIR.com ImgWiz.com cPadmin.net EastsidePCWorks.com HostedTalk.comYou have to be in the same directory as the file.
EastsideHosting - (Web Hosting, Proxy Hosting, Reseller Program)
MediaONAIR - (SHOUTcast Servers, ICEcast Servers, Reseller Program)
Server Administrator - (Dedicated Servers, VPS Management, One Time Services)
ImgWiz - (Free Image Hosting)
-
18th Jun 2011, 07:48 PM #6BannedWebsite's:
takedownpiracy.comit should be
mysql -uusername -pdatabase_name < dumpfile.sql
-
18th Jun 2011, 07:49 PM #7It begins...
And the error is?
-
18th Jun 2011, 07:50 PM #8OPMemberWebsite's:
Dlwave.info FlickW.com DirtyDingo.org SoftLayer.com KWWHunction.com WorldSex.com
-
18th Jun 2011, 07:59 PM #9It begins...
That syntax is wrong. There's a space between -u and the username. There is, however, no space between -p and the password (or the password can be left blank and entered at the prompt that follows).
@OP
cd to the directory where the .sql file is hosted, then run the command
-
18th Jun 2011, 08:00 PM #10MemberWebsite's:
EastsideHosting.com MediaONAIR.com ImgWiz.com cPadmin.net EastsidePCWorks.com HostedTalk.comI don't think it matters, I've used the first syntax and the ones without spaces and they all tend to work.
EastsideHosting - (Web Hosting, Proxy Hosting, Reseller Program)
MediaONAIR - (SHOUTcast Servers, ICEcast Servers, Reseller Program)
Server Administrator - (Dedicated Servers, VPS Management, One Time Services)
ImgWiz - (Free Image Hosting)
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Kloxo database import
By saini in forum Server ManagementReplies: 2Last Post: 4th May 2012, 01:33 AM -
who knows how to import a large database on VPS via SSH . please help
By Ciul3x in forum Technical Help Desk SupportReplies: 11Last Post: 27th Oct 2011, 09:25 PM -
How To Import Large DataBase On to Kloxo?
By desibreaker in forum Tutorials and GuidesReplies: 0Last Post: 23rd Jul 2011, 02:46 PM -
Database Import Problem
By praveer in forum Server ManagementReplies: 16Last Post: 23rd Jun 2011, 07:54 AM -
How to Import database.sql
By Trusteduploader in forum Web Application/Script SupportReplies: 6Last Post: 27th Mar 2011, 05:00 PM
themaManager - edit and manage...
Version 4.04 released. Open older version (or...