Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-05-2013, 11:27 AM
RandomFrog RandomFrog is offline
Member
 
Join Date: Aug 2013
Posts: 13
Gender: Female
Credits: 1,242
RandomFrog is on a distinguished road
Default Backup SQL

Well, I realized that I have had a backup of my website that used to be in myadopts, but I have no idea how to set it up. I am not an experienced coder or anything at all, so can i have some help?
I can also open the sql and everything is fine in Textedit, it's just that i don't know how to put the whole thing back up.

Last edited by RandomFrog; 08-05-2013 at 11:31 AM.
Reply With Quote
  #2  
Old 08-05-2013, 11:36 AM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 48,992
Nemesis is on a distinguished road
Default

if you have phpmyadmin just import the .sql file it should take care of setting up the tables and filling in the data.
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
  #3  
Old 08-05-2013, 12:07 PM
RandomFrog RandomFrog is offline
Member
 
Join Date: Aug 2013
Posts: 13
Gender: Female
Credits: 1,242
RandomFrog is on a distinguished road
Default

Oh thanks! That works.

Last edited by RandomFrog; 08-05-2013 at 12:12 PM.
Reply With Quote
  #4  
Old 08-05-2013, 12:11 PM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,762
Hwona is on a distinguished road
Default Re

Quote:
Originally Posted by RandomFrog View Post
Well, I used the mysidia adopts tutorial and I don't have phpmyadmin. I am using 10x hosting right now with the php and cPanel.
Um, x10 DOES have a phpmyadmin.
__________________
Reply With Quote
  #5  
Old 08-05-2013, 12:18 PM
RandomFrog RandomFrog is offline
Member
 
Join Date: Aug 2013
Posts: 13
Gender: Female
Credits: 1,242
RandomFrog is on a distinguished road
Default

I've also imported the SQL and here is the error I get:

QL query:

# MyAdopts Database Backup - Generated on Saturday 27th of October 2012 07:40:33 PM
# To restore this file on myadopts.com, post on the support forums.
CREATE TABLE `******_acp_hooks` (

`id` INT( 11 ) NOT NULL AUTO_INCREMENT ,
`linktext` VARCHAR( 150 ) DEFAULT NULL ,
`linkurl` VARCHAR( 200 ) DEFAULT NULL ,
`pluginname` VARCHAR( 50 ) DEFAULT NULL ,
`pluginstatus` INT( 11 ) DEFAULT NULL ,
PRIMARY KEY ( `id` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1;

MySQL said: Documentation

#1046 - No database selected


I didn't want to say the name of my website, so I just put in asterisks if you are confused by any chance. I have no idea what this means.
Reply With Quote
  #6  
Old 08-05-2013, 02:58 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,375
IntoRain is on a distinguished road
Default

It says you have no database selected (the error is at the bottom, what's above it is the code you want to import, the creation of a table in sql). Did you create the database first, then selected it in phpMyAdmin (there should be a list when you click Databases at the top) and imported the files?

To create one you go to MySQL Databases and associate it with a user (you might need to create the user). Then go to phpMyAdmin, you'll see you're at localhost, click Databases at the top and select the one you created, then import

Last edited by IntoRain; 08-05-2013 at 03:02 PM.
Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup Manager Blues Suggestions and Feature Requests 4 07-31-2009 08:27 PM


All times are GMT -5. The time now is 06:55 AM.

Currently Active Users: 9764 (0 members and 9764 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636