phpMyAdmin???

phpMyAdmin???

Posted by: kray
Posted on: 2006-03-14 01:31:00

Hi guys,

Im trying to move my site over to dream host now...

I've backed up all my databases from my old host, which uses cPanel, and phpMyAdmin...

But how do i access phpMyAdmin on my dreamhost account?

My nameservers still point to my old host for now, so would just like to setup the databases on dream host - is there an http://IP you can use to view your site.

Any advice would be great.

Regards.

Re: phpMyAdmin???

Posted by: sarawalliams
Posted on: 2006-03-14 04:19:00

Hello.

You need to create a database first. For example, if your database name is 'pie' and it's under 'domain.com', you can access PHPmyadmin for that particular database through:

pie.domain.com

Re: phpMyAdmin???

Posted by: Zen
Posted on: 2006-03-14 06:04:00

Be aware that it will take quite a long wait untill you can access it through phpMyAdmin. It will be accessible for your applications - let's say phpBB, you will be able to install everything - but not for phpMyAdmin for several hours.

I read here a nice tip about pre-creating DBs and keep them "stocked" so you won't be punching the wall while wait...

______________________________________

Save $50 dollars off on yearly plans with this promo code when you sign-up! -> 50CASH

Re: phpMyAdmin???

Posted by: kray
Posted on: 2006-03-14 06:29:00

have have the database ready, in zip/gzip/sql

I just want to upload it :-(

i cannot access database.mysite.com --- as i have not changed my nameservers over yet, its still looking to my old host.

Re: phpMyAdmin???

Posted by: Zen
Posted on: 2006-03-14 06:49:00

If you know how to, use SSH to do it.

______________________________________

Save $50 dollars off on yearly plans with this promo code when you sign-up! -> 50CASH

Re: phpMyAdmin???

Posted by: scjessey
Posted on: 2006-03-14 07:05:00

In reply to:

i cannot access database.mysite.com --- as i have not changed my nameservers over yet, its still looking to my old host.


If you want to do any useful work with your new domain, you will need to either:

a. Change the DNS to point to the new nameservers, or
b. Create a subdomain (such as yoursite.dreamhosters.com) on the dreamhosters.com domain.

If you go the (b) route, you can then create a MySQL hostname with that, eg. mysql.yoursite.dreamhosters.com, and setup your database. You access phpMyAdmin by browsing to the hostname and entering your username and password.

Once everything is ready, you can change your DNS to point to the new site, create a MySQL hostname from your own domain, and then alter your code to reflect the change of hostname.

Re: phpMyAdmin???

Posted by: Zen
Posted on: 2006-03-14 08:09:00

I tried that a few days ago when migrating my site to DH (Take a look at this thread).
It didnt work. At the end, looks like it was some issue with DH Nameserver at that time...

I have to try again when I have some time so can figure out how it works.


______________________________________

Save $50 dollars off on yearly plans with this promo code when you sign-up! -> 50CASH

Re: phpMyAdmin???

Posted by: scjessey
Posted on: 2006-03-14 09:28:00

In reply to:

It didnt work


Well it worked for me. I'll admit it is a P.I.T.A., but it shouldn't be a problem. Do it like this:

1. Purchase and setup hosting plan - don't alter DNS yet
2. Setup subdomain - yoursitewhatever.dreamhosters.com
3. Setup MySQL hostname - mysql.yoursitewhatever.dreamhosters.com
4. Get your site and database up and running
5. Copy your working site from yoursitewhatever.dreamhosters.com to yoursite.com that you setup originally
6. Point your DNS to DreamHost nameservers - the site should work as soon as propagation is done
7. Setup new MySQL hostname - mysql.yoursite.com
8. Alter the hostname in the code of your site (should be seamless)

Tags: phpmyadmindreamhostdatabaseshttpcpanelaccess