If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Restoring DB in php

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-08-06, 10:44
zodehala zodehala is offline
Registered User
 
Join Date: Jan 2006
Posts: 24
Restoring DB in php

our hosting has no "telnet" or "shell" access

so can i restore DB by using phpmyadmin from "run SQL query" part

like following

http://www.freehost4images.com/images/zodehala/sql.png


if it can , what is the corect query command ?
Reply With Quote
  #2 (permalink)  
Old 01-08-06, 19:49
jfulton jfulton is offline
Registered User
 
Join Date: Apr 2005
Location: Baltimore, MD
Posts: 297
It depends on how and where your database was backed up.
Reply With Quote
  #3 (permalink)  
Old 01-09-06, 08:51
zodehala zodehala is offline
Registered User
 
Join Date: Jan 2006
Posts: 24
Quote:
Originally Posted by jfulton
It depends on how and where your database was backed up.
DB is in web site root directory . (not hosting root )
DB nam : backup.sql
DB volume : 50MB

How can i restore it without resizing it

i tried following but it does not

http://www.freehost4images.com/image...hala/sql_1.png

Last edited by zodehala; 01-09-06 at 09:07.
Reply With Quote
  #4 (permalink)  
Old 01-09-06, 10:39
jfulton jfulton is offline
Registered User
 
Join Date: Apr 2005
Location: Baltimore, MD
Posts: 297
Since you have no shell access, try using the source command.
http://dev.mysql.com/doc/refman/5.0/...-commands.html
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On