PDA

View Full Version : ikonboard question after moving database


basogard
7-14-03, 12:37 PM
Call me stupid!

I did the database move thing per announcements. And then I saw the message about pointing scripts to the new location. I was in a hurry and didn't find or think of this before clicking the 'move' button.

I would dearly appreciate the "ikonboard for dummies" version of updating script to point to the mysql04.powweb.com server!!! I have no idea which file(s?) to edit..

Please?!

Pig
7-14-03, 04:43 PM
I don't know Ikonboard at all, but here is the concept (you'll have to do the footwork yourself).

Any script should have one file that has the database connections, and that one page is reused by every page. You can usually find this page in a folder called "common" or "include". Anyway, I have no idea what the file is called, but you have to find it. The easiest way would be to use a search utility to find the string: "mysql_connect". Windows XP has this built in, as does Dreamweaver MX. Once you find the file, just change your server information in it.

basogard
7-14-03, 05:00 PM
Thanks for the reply :D :D

By coincidence, I had been reading the scripts, and found that Ikonboard uses the variable "DB_IP" for the database server name, and the variable is found in the boardinfo.cgi file. I changed that from mars.powweb.com to mysql04.powweb.com

That got ikonboard looking for the database on the mysql04 server. Unfortunately I now get the message access denied. *sigh* I wonder if the "DB_DIR" also needs to change...