vujsa
May 15 2005, 06:37 AM
While attempting to install a bridge between Simple Machines Forum (SMF) and Mambo Open Source (Mambo), I had to install SMF manually because the two applications had to use the same database. When an application is installed using Fantastico, Fantastico automatically creates a new SQL database for the application. As a result, if Fantastico is used for both Mambo and SMF, then there will be two databases. This guide will explain how to merge two or more SQL databases in cPanel using phpMyAdmin. First, you'll need to decide what database will be the target. I usually create a new database and then copy the two original databases into it. There are a few things to consider before deciding which database to use as the target. - Will your application allow you to change which database it will use.
- (Check your global configurations or server / database settings in your admin control panel.)
- Does one or more of the applications need to be installed manually.
- (If an application is to be installed manually, then insert the appropriate database information for your existing database.)
- Do you already have a database that is shared by two or more applications.
- (If so, then this might be your best choice because you won't need to change your configurations for as many applications.)
If you want create a new MASTER database to insert the two source databases into, then you'll need to do so with the MySQL Databases tool in cPanel. - Your username will automatically be added to the database name like so: username_data1 or username_smf2.
- So when creating your new database, just use the extention like data1 or smf2.
- Give your new database a name that is descriptive but short like masterDB1 which will become username_masterDB1.
- You'll need to create a new user for this database in the same MySQL Databases tool in cPanel.
- I suggest using the same system for database usernames as Fantastico uses which is the same name for the database name and user name.
- So in our example, create a user named masterDB1 which will become username_masterDB1.
- Create a password that is random but not one that you would use for any of your personal accounts.
- Something like abc123def456ghi789 would be an ok password for an SQL database.
- You'll need to remember your password or write it down because you won't be able to retieve it ever and changing the password is much more difficult than any other procedure in this guide.
- Grant ALL Privileges to the new user.
Now, once you have a target database, you'll need to create a backup of the target database unless it was newly created. Using the Backup tool in cPanel, choose the SQL database that needs to be backed up and downloaded. Just save it to your hard drive and leave it alone. OK, so far we haven't done anything that will disturb the operation of any database or application. Many of the steps that follow can leave your website unusable. Please make a full backup of your website now. - You can do this with the same Backup tool in cPanel by clicking on the link that reads "Generate/Download a Full Backup"
- Be sure to wait until it finishes the backup and sends an email to you before downloading.
- (This file can be left on the server but may be rather large and use valuable hosting space)
- In the following screen, where it reads"Backup Destination:" choose Home Directory.
- Enter your email address in the correct field and leave everything else blank then click the Generate Backup button.
- After You receive your backup complete email, you can return to "Generate/Download a Full Backup" and download your newly backed up website file.
Okay, we are done with all of the preperation work, lets merge those databases. - Using phpMyAdmin, select the first source database.
- Click on the Export tab at the top of the page.
- Check Save as File and check "gzipped" as the Compression option.
- Click the Go button.
- If asked, choose Save to Disk and remember where the file is. C:\downloads\backups\ for example.
Repeat for all of the source databases. Now you have all of your source files ready to be merged.  - Using phpMyAdmin, select the target database.
- Select the SQL tab at the top of the page.
- Where it says "Location of the textfile:", Browse to the location of the databes source files and check Auto Detect for the Compression option.
- Click the Go button.
Repeat for all of the source databases. Your newly filled / merged database is now done. All you have to do now is to change your settings in your applications to point to the correct database with the correct username and password. Hope This Helps,  vujsa
Reply
Similar Topics
Keywords : merging, sql, databases, cpanel, phpmyadmin, sql, fantastico, installs
- Cpanel Isn't Working.
(12)
Phpmyadmin Continues To Have Errors.
(17) I am aware that there is already a topic about PHPMyAdmin but I am receiving a different error (and
that topic is closed). It seems as if PHPMyAdmin has an error in it's code. I received the
following error. CODE Warning: session_write_close()
[function.session-write-close]: SQLite: session write query failed: database is
full in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42 Warning:
session_write_close() [function.session-write-close]: Failed to write session
data (sqlite). Please ....
Domain Name Is Not Assigned To Ip. Access Cpanel With Ip Not With Domain Name.
(6) Hi, Please astahost help me. Yest i created host account with my domain name kndsoftware.info and
after that i got confirmation and IP is given to me with domain name. After that i am able to
access cpanel with IP and make updates but i am not able to open my page www.kndsoftware.info or
www.kndsoftware.info/cpanel. Please help me :( . Regards, Kanade ....
Cpanel Security
(0) Ok I tried accessing cPanel using SSL and various security warnings came up. The one in Firefox 3
looks like this: QUOTE Secure Connection Failed portal.trap17.com:2083 uses an invalid security
certificate. The certificate is not trusted because it is self signed. The certificate is only
valid for gamma.xisto.com. (Error code: sec_error_untrusted_issuer) * This could be a problem
with the server's configuration, or it could be someone trying to impersonate the server. *
If you have connected to this server successfully in the past, the error may be ....
Did Cpanel Upgrade?
(8) Ok, I checked into my cPanel this morning and I noticed the new theme. Initially I thought it was
just a theme, but then I noticed things were grouped differently and it offered video tutorials. Did
AstaHost go through a cPanel upgrade?....
Phpmyadmin Doesn't Work On Gamma Server
(4) Ok, this is weird, phpMyAdmin doesn't work on Gamma server what-so-ever. xboxrulz....
Site Will Not Load, I Can Not Get To The Cpanel
(6) My Website http://legallyhighforum.astahost.com/ will not load, it says it is unable to connect.
Also, when I log into my CPanel Account, there is nothing but a blank white screen. What is
happening?....
Databases
(2) How do you access databases?Even though i don't have a hosting account yet i want to think
ahead. Please help thx, romeo123....
Free Graphical Tools For Databases
(7) There are a lot of different free software in Internet, but I have found only couple of free
graphical tools for database adminiatration. On another hand, MySQL is free for non commercial
usage. That's way it will be nice to have any good free GUI for this database. I remember the
time, when one of MySQL-Front versions was for free, but now it is opened only for testing period.
There is also free version of Toad, which is not full Toad, but it looks also very well - However, I
am not going to use Oracle (wchich is quite expensive commercial tool) on my desktop. The....
Filtering Out Unwanted Junk Mail Using Regular Expression.
Use this Regular Expression with the cPanel email filter to limit your (0) I'm so irritated with the amount of spam I get on the email accounts I have hosted at AstaHost.
It isn't the servers fault that I get so much junk mail! It wouldn't be so bad but my
junk mail filter on my home system doesn't scan IMAP accounts which I use since my email client
won't separate POP3 accounts properly. So I finally got to the point I had to do
something! I'm getting about 25 junk mail messages a day spread over 5 different email
accounts. If I go a few days without checking my email, I have a lot of work to do to clean ....
Phpmyadmin
I need help using PHPmyadmin (1) Well on my game i dont have the change pass or ID # from my admin panel...so i was wondering if its
possible to do that on PHPmyadmin..i looked at userpass...and it showed numbers and letters but no
password words ex:)24h7t6d8er7cv and i dont know how to change that also how do u change the ID so
can someone help me...thanks....
Full Disk Usage Warning In Cpanel
(7) A few minutes ago I received an automated mail notifying me about 109.68% (548.38 Megs) of disk
space used by my hosting account. It was extremely surprising because I have not uploaded anything
in a while. Nevertheless, I went back to CPanel and looked into the Disk Usage Viewer. It could only
account for ~295 MBs. While, I can free up quite a bit of space from the Trash directory, I am
wondering what's causing the disk space to be misreported. Edit : I have emptied the Trash
folder which managed to free ~75 MBs. Although, this has brought down the disk usage wit....
Can't Access Astahost Hosteed Sites (including Cpanel And Ftp)
(21) Well its been about a week now since i havent been able to access anything hosted on the gamma
server (including the gamma.xisto.com address) and its starting to annoy me. my brother "co-owns" a
site hosted here and he hasnt been able to go on it or anything so he told me to ask about it. So
it was when i was uploading EZ Publish (via ftp) to my site it happened. after like 500 files it
lost connection and wouldnt connect. later on i found that i couldnt get on my site or cpanel
either. i then went on my best friends site hosted here and couldnt access it so i went on o....
Cannot Access Cpanel.
(11) It's been quite some time since I have even tried, but all I am getting is "Unable to connect"
in firefox. Also faqs.astahost.com is failing with the same message (main site url and forums them
selves seem to work fine....), what is up with different parts failing (it used to happen several
times a day with the forums), and it's random at which is working and which isn't lol. Well
the forums haven't given me any issue in a long time at least.....
'seamless' Merging Aef Forums And Snews Cms
an apparent Integration of the two packages (0) I have managed to 'seamlessly' merge these two packages so that the sNews CMS system appears
to contain a Forum Script. For those of you interested in seeing an install, check this link :
http://www.jlhaslip.com/snews/ and the Tutorial is posted 'over there':
http://www.trap17.com/forums/adding-aef-fo...cms-t51956.html Post any questions on the trap
thread, please, since I hang-out there more than here. Thanks.....
Can't Access Cpanel - 'login Attempt Failed'
(5) When I Try to access the CPanel, I am greeted with the 'Login Attempt Failed' error. The
default FTP account is not working either. I haven't had any modifications with my site yet, so
I am not sure if someone has hacked into my account. Is there any problem with the system? I have
not reset the password as I don't want to loose 10 credits over nothing. Please confirm if the
problem is pertaining to my account only.....
Cpanel Account Restore?
(2) hi, im starting my site completely from scratch and i was wondering if you could restore it to how
it comes when you first get hosting? i have no idea what to delete and not delete now and it would
be easier for me if i just got it all reset. ive made a full backup just in case i need anything.
it would be really good if you could!....
Does Our Cpanel Have Safe Mode Turned On Or Off
(10) I need hosting that does not have safemode turned on. So if anyone can tell me about that it would
be much appreciated. Dominus....
Qupis : Free Cpanel Web Hosting (one Line Text Ad At Bottom)
150 MB space, 10000 MB Bandwidth, php, mysql, CPanel (9) Hello Members, We are proud to introduce a new member to Xisto group of sites.
Qupis : Free Web Hosting 150 MB space, 5000 MB Bandwidth, php,
mysql, CPanel (Latest). Emails, FTP, Addon domains, Parked Domains etc.
http://www.Qupis.com
Feel free to add your reviews and comments about it. -AstaHost
Management ....
Need Help Programming With Databases (VB.NET)
Need some help please! (9) Hi all, I have decided to do a major IT project on Visual Basic .Net 2005. I know some of the basics
and know what i'm doing. But i have come asking for some help in how to program with databases.
I was wondering if there was anyone out there that knows what they are doing and if they can help.
All I really need to do is to make the program read several different fields and open the as one
entry to be edited. and also to find a value in one of the entry's (like a search) and use other
entry's in that field to input into the program. Even if you could point....
PHP Mail Sending Is Not Working After cPanel Upgradation!
(22) Hi all, Please check whether you can send mail using php! /unsure.gif"
style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" /> I cant send mails
after the cPanel upgradation process! /unsure.gif" style="vertical-align:middle"
emoid=":unsure:" border="0" alt="unsure.gif" /> I dont know whats happened with that!! Is
it for my account only or all are having the same problem?? Please guys, check it now and confirm
it! Im having phpbb forum my site! It was working fine without any problem! But after
cPanel upgradation, ....
How Do You Use The cPanel File Manager?
How to use File Manager? (11) I feel stupid for asking this but I can’t figure out how to use file manager. How do you
open folders and view the file in it? When I click on a certain folder the options does not include
opening it. And can you upload file from the file manager? I’ve been using FTP to manage my
files so far. ....
Filezilla: How To Use In cPanel?
(7) O.K., I've seen the posts on which are the best free FTP clients and I decided to pick
Filezilla. I've downloaded it, and read a bunch of stuff here on astahost on how to use FTP.
But the one thing I can't seem to find, is how to get the program I downloaded to my Cpanel. I
saw NilC (I think that was it) pinned post at the beginning of this section, but, it was for some
other program. I tried saving Filezilla to my computer and running the .exe, getting all the files
from it. From there, I went to the Cpanel, and uploaded the Filezilla application to the....
Can't Access The Cpanel!
Please help! (7) I just got an Astahost account and did everything it said I should do. I then went to the homepage
of my new site and saw the page saying that my account had been created successfully and
instructions on how to reach the cPanel. But when I tryed to go to the cPanel, it comes up with a
"Page cannot be displayed" message. I don't know why I cannot reach my cPanel since my site is
up! BTW my site's link is: http://unplugged.astahost.com/ Thanks, .Solitude ....
Cpanel Works Slowly
Why is cPanel so heavy to access? (7) Hi, I'm trying to configure my cPanel, but of some kind of reason does it works extremly slowly
and it leak the icon images. My Internet connection is standard adsl, and when I had dealup
doesn't I had any problems or trouble, then only thing that I've been changed is my Internet
connection. Please help me, Cheers! Jens....
New PHP-Nuke In Fantastico Needs Patch!
(6) The PHP-Nuke 7.7 version that is on the Fantastico in the Control Panel is broken, it is inserting
the WYSIWYG editor into the forums, I didn't test for the PM's, and it is probably there
also. The problem is in the includes/javascript.php and if you have put this on your site and have
never used the PHP-Nuke you might not know that it is not only wrong but it doesn't work
properly becuase the WYSIWYG is an HTML editor and the forums are looking for BB Code, so if you
have this version installed send me a PM and I'll give you the code to replace the Jav....
Need Advice On Creating Online Music Database
ps - dont know anything about databases! (6) I need to create a database of around 1000 music albums that I can put on my site, with the ability
to search the database according to several different criteria. Being a complete and total NOOB to
the world of databases, can anyone point me in the direction of some software that will let me
create a good-looking and functional database, but that isn't too complicated for me to
use?! Sounds like a tall order I know, be grateful if anyone can help though. Thanks!
Topic edited to reflect content better. ....
Forgot My Cpanel Password
(7) Can someone please reset my cPanel password? My username is kc8yff. Thanks.....
Zpanel/cpanel
What do u like (12) I think that cpanel has more stuff 2 it but zpanel is free so i have 2 go wit the free 1....
cPanel: An Overview
Details all the features of cPanel (11) cPanel: An Overview What all the features in cPanel are, and how to use them This tutorial is
intended to provide a quick overview of all of the features that are available in cPanel when you
receive hosting from AstaHost. You can find further help when you login to cPanel; this tutorial is
best used for quick reference, as I've tried to keep explanations brief, to the point, and easy
to understand. It is also assumed that you will be using the default theme when accessing cPanel.
This little tutorial is broken into sections relavent to what area they detail i....
Looking for merging, sql, databases, cpanel, phpmyadmin, sql, fantastico, installs
|
|
Searching Video's for merging, sql, databases, cpanel, phpmyadmin, sql, fantastico, installs
|
advertisement
|
|