If DB name is changed, what needs to be modified?? - eSyndiCat User Forums
eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > Installation and Updates

Installation and Updates No need to be a programming guru to get started with eSyndiCat Directory Software. Even a newbie can run installation process smoothly with solutions found here.

Reply
 
Thread Tools Display Modes
Old 05-07-2006   #1
northwest
 
Join Date: Nov 2005
Posts: 37
northwest
Default If DB name is changed, what needs to be modified??

Hi eSyndicators!

We are in a situation where we may have to change the name of the database. I have seen in the config file where we have to change the db name, user and password. Is there any modification we have to make to the links program files?

Also, we are going to create SQLs of the entire database and run it in the new database. Has anyone done this? do you forsee any issues??

Thanks!
northwest is offline   Reply With Quote
Old 05-07-2006   #2
echopulse
 
Join Date: Sep 2005
Posts: 370
echopulse has disabled reputation
Default

First of all, it would help to know what version you are using. You cannot use an old version's database in a new version. You must upgrade it first. The config file is the only place you have to change the database name though.
echopulse is offline   Reply With Quote
Old 05-08-2006   #3
Vasily B.
Administrator
 
Vasily B.'s Avatar
 
Join Date: Sep 2005
Posts: 9,292
Vasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished road
Default

Hi,
echopulse is right you should make changes in your config.inc.php file. Find there the following lines:

Code:
$gDirConfig['dbhost'] = 'your_host';
$gDirConfig['dbuser'] = 'your_username';
$gDirConfig['dbpwd'] = 'your_password';
$gDirConfig['dbname'] = 'your_database_name';
$gDirConfig['prefix'] = 'your_prefix';
Also please modify your tables via phpMyAdmin. configs table
__________________
Subrion CMS - free open source php content management system
Business Directory Script - powerful php business directory software, Yellow Pages Script - the most advanced yellow pages php software
Vasily B. is offline   Reply With Quote
Old 05-08-2006   #4
northwest
 
Join Date: Nov 2005
Posts: 37
northwest
Default

Thanks. we are using the same version with which it was created. So there a version compatibilty. I did notice that the config table has an insert statement that inserts the database name, user and password. so we changed it.

Everything works fine now! Thanks!
northwest is offline   Reply With Quote
Old 05-11-2006   #5
Vasily B.
Administrator
 
Vasily B.'s Avatar
 
Join Date: Sep 2005
Posts: 9,292
Vasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished roadVasily B. is on a distinguished road
Default

I'm glad to advise
__________________
Subrion CMS - free open source php content management system
Business Directory Script - powerful php business directory software, Yellow Pages Script - the most advanced yellow pages php software
Vasily B. is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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
E-mail can't be changed echopulse Bug Reports 4 12-20-2005 09:52 AM
Changed Header to Delete Image - but image still displayed.. Peter Leenders User interface 3 01-01-1970 12:35 AM


All times are GMT. The time now is 04:02 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us