Nuke Toolbar

          
Quick Links 
 [Home Page ][ Category Listings ][ Forum Listings][ Forum FAQs]
[ HomeDNS - Domains ]  [ Nuke Resources ]  [ Nuke Skins and Themes ]  [ Nuke Sites Link Directory ]
[ LearningLinux.com ]  [ Nuke Fixes ]
[ NukeZone Hosting ]  [ Domain Name Database ]
Nuke Forums Forum Index

Nuke Sites Link Directory


Importing .sql files into an existing database in phpmyadmin

 
Post new topic   Reply to topic    Nuke Forums Forum Index -> MySQL - Installation, Programming Etc.
View previous topic :: View next topic  
Author Message
timekeeper
Senior Warrant Officer
Senior Warrant Officer


Joined: 13 Jun 2003
Posts: 83
Location: Vancouver, BC, Canada

PostPosted: Fri Aug 01, 2003 8:07 am    Post subject: Reply with quote

I know this sounds stupid but I can't find an option in phpmyadmin to import a .sql file which means I have to resort back to the command line thing which is annoying.

I only have read-write access in one database so I cannot create a database, also, I wanted to import the bookmark tables for phpmyadmin but they didn't work, any ideas?

Thanks,
Timekeeper
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
chris
President
President


Joined: 06 Nov 2002
Posts: 1047
Location: Outer Space

PostPosted: Fri Aug 01, 2003 10:56 am    Post subject: Reply with quote

Click on the *database* name in the left frame of phpMyAdmin. You'll get a list of all the tables in the right frame. Click on the "SQL" link in the top horizontal menu in the right frame. Then you will see some fields and one of them has a "Browse" button next to it. Click on "Browse", select the .sql file you want to import and you are done.

Beware long .sql files! The import will break due to time constraints put by most providers:

http://forums.devshed.com/archive/4/2001/07/2/17971

For other solutions, see

http://www.webmasterworld.com/forum88/953.htm

Regards

Chris

Back to top
View user's profile Send private message Send e-mail Visit poster's website
gipper
Private
Private


Joined: 07 Jul 2004
Posts: 1


PostPosted: Wed Jul 07, 2004 3:19 am    Post subject: Reply with quote

I tried this using the Browse button within the SQL area, and hit GO.

Nothing appears to happen except it gives me the message No SQL query!

What am I doing wrong?
Back to top
View user's profile Send private message
flip fantasia
Private
Private


Joined: 06 May 2003
Posts: 2


PostPosted: Mon Sep 13, 2004 2:55 am    Post subject: Can not load Database backup Reply with quote

I have tried to load a backed up DB using MySQL. I enter the DB go to the SQL link, browse and find the file and press go.

After a while at the top left corner MySQL writes: "can not read file"

Our server has been down and reformatted, after setting up the site again I have had this problem.

I tried to upgrade from Nuke 6.5 to Nuke 7.4. This did not help The site runs but only partially.

I also tried to load the DB backup directly on the server.

Any ideas please .... I totally don't know how to get around this.

Note - I'm not experienced with MySQL at all.
Back to top
View user's profile Send private message
chris
President
President


Joined: 06 Nov 2002
Posts: 1047
Location: Outer Space

PostPosted: Tue Sep 28, 2004 4:23 pm    Post subject: Reply with quote

gipper wrote:

I tried this using the Browse button within the SQL area, and hit GO.

Nothing appears to happen except it gives me the message No SQL query!

What am I doing wrong?


The SQL file you have selected with the "Browse" function does not contain any SQL commands ("queries"). You probably selected the wrong file to run.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
eHangar
Private
Private


Joined: 22 Oct 2004
Posts: 3


PostPosted: Thu Dec 09, 2004 7:39 pm    Post subject: Reply with quote

chris wrote:
gipper wrote:

I tried this using the Browse button within the SQL area, and hit GO.

Nothing appears to happen except it gives me the message No SQL query!

What am I doing wrong?


The SQL file you have selected with the "Browse" function does not contain any SQL commands ("queries"). You probably selected the wrong file to run.


Hi, I have the same problem as gipper. I followed the instructions to the letter installing a new calendar block and also got the No SQL query message in phpMyAdmin. I checked the file (name: thecalendar.sql) and it contains the commands Create Table xxxxx, so I believe this is an sql dump file?

There were no other files with the sql extension provided in the block files.

Can anyone suggest any other way to get this to work? Thanks in advance!
Back to top
View user's profile Send private message Visit poster's website
turtlebrain
Private
Private


Joined: 20 Dec 2005
Posts: 1


PostPosted: Tue Dec 20, 2005 11:35 am    Post subject: Same Problem... Reply with quote

Trying to load a 70 me SQL import .

having trouble finding instructions on how to split the file..


thank for your help
Back to top
View user's profile Send private message
Evaders99
President
President


Joined: 29 Jul 2003
Posts: 3077


PostPosted: Tue Dec 20, 2005 9:11 pm    Post subject: Reply with quote

Use BigDump - its a script that will do everything you want for big SQL files
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
zlatan24
Private
Private


Joined: 27 Jul 2009
Posts: 2


PostPosted: Mon Jul 27, 2009 2:23 am    Post subject: Reply with quote

Some days ago I found in global network next software-mdf recovery tool,tool helped me in diffifcult situation,it was free as far as I know,moreover program can repair data from corrupted databases in the MS SQL Server format (files with the *.mdf extension),supports data extraction via the local area network,can save recovered data as SQL scripts.
Back to top
View user's profile Send private message
jack22
Private
Private


Joined: 27 Oct 2009
Posts: 1


PostPosted: Tue Oct 27, 2009 1:40 am    Post subject: Reply with quote

phpMyAdmin can manage a whole MySQL server (needs a super-user) as well as a single database. To accomplish the latter you'll need a properly set up MySQL user who can read/write only the desired database. It's up to you to look up the appropriate part in the MySQL manual.
I have learned about it and ccdp certification through ccie training and have no difficulties in it.
Back to top
View user's profile Send private message
zlatan24
Private
Private


Joined: 27 Jul 2009
Posts: 2


PostPosted: Fri Oct 30, 2009 1:45 pm    Post subject: Re: Same Problem... Reply with quote

turtlebrain wrote:
Trying to load a 70 me SQL import .

having trouble finding instructions on how to split the file..


thank for your help

For work with sql files I often use different programs.But yesterday I had the big problem with my damaged sql files and I fortunately solved it with help-how recover ms sql mdf file if it not attached to database.Tool did it for free and demonstrated how opens mdf files from any database server or even workstation in the local network.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Nuke Forums Forum Index -> MySQL - Installation, Programming Etc. All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group




Forum Options
Main Menu
index.phpForums Index
    - Collaped View
    + Expanded View
FAQFAQ
SearchSearch
MemberlistMemberlist
UsergroupsUsergroups
RegisterRegister
ProfileProfile
Log in to check your private messagesLog in to check your private messages
Log inLog in

Visitor Options
 
Subscribe
Unsubscribe


Keep informed of updates, bug fixes, software releases, news and more!
Installation or Upgrade Services for phpNuke or PostNuke? Require site maintenance, addons, modules or custom themes? Send private message or e-mail for rates and availablity.

Quick Links
  Domain Names
  Firewall Forums
  Joke Crazy
  Learning Linux
  Find your IP Fast!
  Purchase WinRAR

Trusted Nuke Sites
  NukeZone Hosting
  CMS Focus
  NukeFixes.com
  NukeResources.com
  NukeSkins.com
  NukeSites.com
  PHPNuke.org

Sponsor Links


NukeZone Hosting