Previous Thread
Next Thread
Print Thread
Rate Thread
#251617 06/18/2003 7:42 PM
Joined: Jan 2003
Posts: 338
Enthusiast
Enthusiast
Offline
Joined: Jan 2003
Posts: 338
On my serwer I have two bases: "motokacik" and "test".
"motokacik" is used for my forum. "test" is unused and it seemed to be free. I copy all databes files from 'motokacik' to 'test' and upload files of new 6.3 version. I run install.php, wrote "test" as name of database and new forum was installed
Ok, but I couldn't run my old forum Ups I looked into phpmyadmin and i was really suprised: Program changed "motokacik" table, not "test"
'No good' - I thought, I checked config.inc.php on my new forum, and that I saw:
Code
<br />  // Name of the database<br />    $config['dbname']	=	"test";<br />    $config['dbrealname']     =     "motokacik";<br /><br />


I restored my "motokacik" base form backup, but I don't
understand what's mean $config['dbrealname'] ???
And second problem how is possible to simulate another base ???

Sponsored Links
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
1) Are you trying to set up a test board by making a copy of your main board?
2) I have no idea where $config['dbrealname'] came from.
3) I don't know what "simulate another base" means.

Joined: Jan 2003
Posts: 338
Enthusiast
Enthusiast
Offline
Joined: Jan 2003
Posts: 338
1.No
2. So do I
3. I thouht about simulate another database, so when we work by mysqldabase x, program make changes in database y.

Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
I have no idea what you are talking about.

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Do you want to use a different database than the one you already have using the same copy of the .threads running on the same host? If yes then this is not feasible, since the config.inc.php file which controls where the database is and the database name/username/password is common for all the people that access your board. If you change the values in that file you will in effect redirect all the traffic to the new database. If however you want to test some enhancements and then apply them to your live board, you can set up a dev forum on your home computer which should have a web server (IIS/Apache) and MySQL installed so that you can test what you modify. Taking a snapshot of your database and restoring it on your home computer is easy as pie with mysqldump or phpMyAdmin.


Nikos
Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)