icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Reseller Hosting » cannot use navicat...

Reseller Hosting Questions about your reseller hosting account.

Reply
 
LinkBack Thread Tools Search this Thread
Old May 26th, 2006, 6:02 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jul 2004
23 posts
Gave thanks: 0
Thanked 0 times
cannot use navicat...

hey guys, i have a particular problem. I'm trying to merge two databases, they have the same function and dissimilar field names, duplicates, etc, etc. So, basically, I was wanting to use PremiumSoft Navicat to do the merge. However, it gives me errors when I try to connect, says that the username / password are not valid.

However, they ARE valid, and the problem isnt a configuration one. I'm guessing that ssh access is used via navicat, and it wont let me do that.

So that questions are such. !) has anyone figured out a way to get navicat to work here?

and 2) does anyone know any other way to merge databases? I know php and mysql fairly well (its what im writing this site in), but the problem remains that I do NOT know how to access and distinguish two databases on the same server.

Tips, comments, suggestions?
__________________
www.promorphus.com
parasbshah is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 26th, 2006, 6:47 PM   #2 (permalink)
Surpass Fan
Super #1
 
Joined in Aug 2004
Hosted on SH58
1,688 posts
Gave thanks: 6
Thanked 7 times
Just use two instances of mysql_connect() ($conn1 and $conn2) and then use a separate mysql_select_db() for each $conn1 and $conn2. Then you could load each table into an array and array_merge() the two (or write your own function to skip whichever ones you want to skip).

Just a thought.
__________________
- Evan Charlton | [site] | Server - SH58
Kickersny.com is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 1st, 2006, 4:43 PM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jul 2004
23 posts
Gave thanks: 0
Thanked 0 times
Ah, thanks, that will work....

thanks for the help!
__________________
www.promorphus.com
parasbshah is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On