PDA

View Full Version : mysql database error



Ronin
Thu 21st Jul '05, 8:49pm
I am trying to import a 3.0.7 forum into a 3.5 forum but for some reason it isnt working correctly.


;vBulletin:Impex Config File<?php /*
;| ################################################## ################## |;
;| # vBulletin - Licence Number (REMOVED)
;| # ---------------------------------------------------------------- # |;
;| # Copyright ©2000–2005 Jelsoft Enterprises Ltd. All Rights Reserved. |;
;| # This file may not be redistributed in whole or significant part. # |;
;| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # |;
;| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # |;
;| ################################################## ################## |;

[ Target Database ]
; The following settings allow ImpEx to connect to the vBulletin 3
; database into which you will be importing data.
;
; If impex is installed in vBulletin you can ignore the target details
; as includes/config.php

targetdatabasetype = mysql
targetserver = localhost
targetuser = user1
targetpassword = pass1
targetdatabase = db1
targettableprefix =

[ Source Database ]
; If the system that is being imported from uses a database,
; enter the details for it here and set 'sourceexists' to TRUE.
; If the source data is NOT stored in a database, set 'sourceexists' to FALSE

sourceexists = true

; mysql OR mssql
sourcedatabasetype = mysql
sourceserver = localhost
sourceuser = user2
sourcepassword = pass2
sourcedatabase = db2
sourcetableprefix =

;| ################################################## ################## |;
;| # File ends with closing PHP tag... # |;
;| ################################################## ################## |;
;*/ ?>

That is what my config file looks like except I remove the license number and changed my passwords/usernames/database names for security. Any ideas?

Steve Machol
Thu 21st Jul '05, 8:51pm
You cannot import into 3.5.0 yet. The Impex import scripts will not be available until 3.5.0 final is released.

Also you cannot use the 3.0.x config.php file with 3.5.0. If you are upgrading, you need to edit the db values into the new config.php file for 3.5.

Ronin
Thu 21st Jul '05, 10:21pm
Can you upgrade from 3.0.7 to 3.5? (i mean, by using the vb 3.5 installer)

Steve Machol
Thu 21st Jul '05, 11:03pm
Yes, you but don't run the install script, you run upgrade.php just like any other upgrade.