[Request]Database

07/02/2009 11:34 imported_spitt_fire911#1
Ok.. I have my old source... DreamCO.. and it works and all.. but my BACKUP Database has somethin wrong with it... How can I create a database to that source?
07/02/2009 11:36 Incariuz#2
open the database backup file, copy it, and paste it here for me.
07/02/2009 11:41 Arcotemple:)#3
somwhere along the first few lines it will say something like

Quote:
Database: `coproj(or something like that)
07/02/2009 11:43 Incariuz#4
It may require more, all depends, that's why I asked for him to paste it.
07/02/2009 11:46 imported_spitt_fire911#5
Quote:
Originally Posted by Incariuz View Post
open the database backup file, copy it, and paste it here for me.
Whats your email... Its to big to fit in a message on here
07/02/2009 11:50 Incariuz#6
Attach it to a post. I'll download it.
07/02/2009 12:01 imported_spitt_fire911#7
Ok here's it is
07/02/2009 12:27 Incariuz#8
Ok, open your database backup file with notepad. You will see

Code:
-- 
-- Database: `codarkness`
-- 


-- --------------------------------------------------------
Replace that part with

Code:
-- 
-- Create schema codarkness
-- 

CREATE DATABASE IF NOT EXISTS codarkness;
USE codarkness;

-- --------------------------------------------------------
Then load it into Sql, and all should work fine.
07/02/2009 12:52 imported_spitt_fire911#9
When i try and Import it ,, says


Fatal error: Maximum execution time of 300 seconds exceeded in C:\AppServ\www\phpMyAdmin\libraries\string.lib.php on line 91
07/02/2009 14:25 Kiyono#10
Use MySQL gui tools or Navicat to import.
07/02/2009 20:04 imported_spitt_fire911#11
EVERYTHING U GUYS SAY.. WONT WORK.. Is there a way to create a new database?
07/03/2009 13:15 imported_spitt_fire911#12
# Request Close
07/03/2009 13:39 tanelipe#13
#Closed