| View previous topic :: View next topic |
| Author |
Message |
timekeeper Senior Warrant Officer


Joined: 13 Jun 2003 Posts: 83 Location: Vancouver, BC, Canada
|
Posted: Fri Aug 01, 2003 8:07 am Post subject: |
|
|
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 |
|
 |
|
|
 |
chris President


Joined: 06 Nov 2002 Posts: 1047 Location: Outer Space
|
Posted: Fri Aug 01, 2003 10:56 am Post subject: |
|
|
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 |
|
 |
gipper Private

Joined: 07 Jul 2004 Posts: 1
|
Posted: Wed Jul 07, 2004 3:19 am Post subject: |
|
|
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 |
|
 |
flip fantasia Private

Joined: 06 May 2003 Posts: 2
|
Posted: Mon Sep 13, 2004 2:55 am Post subject: Can not load Database backup |
|
|
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 |
|
 |
chris President


Joined: 06 Nov 2002 Posts: 1047 Location: Outer Space
|
Posted: Tue Sep 28, 2004 4:23 pm Post subject: |
|
|
| 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 |
|
 |
eHangar Private

Joined: 22 Oct 2004 Posts: 3
|
Posted: Thu Dec 09, 2004 7:39 pm Post subject: |
|
|
| 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 |
|
 |
turtlebrain Private

Joined: 20 Dec 2005 Posts: 1
|
Posted: Tue Dec 20, 2005 11:35 am Post subject: Same Problem... |
|
|
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 |
|
 |
Evaders99 President

Joined: 29 Jul 2003 Posts: 3077
|
Posted: Tue Dec 20, 2005 9:11 pm Post subject: |
|
|
| Use BigDump - its a script that will do everything you want for big SQL files |
|
| Back to top |
|
 |
zlatan24 Private

Joined: 27 Jul 2009 Posts: 2
|
Posted: Mon Jul 27, 2009 2:23 am Post subject: |
|
|
| 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 |
|
 |
jack22 Private

Joined: 27 Oct 2009 Posts: 1
|
Posted: Tue Oct 27, 2009 1:40 am Post subject: |
|
|
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 |
|
 |
zlatan24 Private

Joined: 27 Jul 2009 Posts: 2
|
Posted: Fri Oct 30, 2009 1:45 pm Post subject: Re: Same Problem... |
|
|
| 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 |
|
 |
|
|
 |
|