| | |
how to use same database for two domains?
![]() |
•
•
Join Date: Mar 2008
Posts: 1
Reputation:
Solved Threads: 0
Dear programers,
i am new to mysql and webhosting.
i have one website script,i want to instal the same script to my two domain
names(for example: domain1.com and domain2.com)
i dont want to add this two domain like addon domain.
i have two different hosting for this two domains.
for domain1 i have instal the script,during the installation the script asked
the following
i have filled the same below)
Host:Local host
Database name:xxx
User name:YYY
Password:ZZZ
the domain1 is working fine.
for domain2 i like to use the domain1 database(xxx)(it is in diff hosting)
1)i want to know how to use the same database for diff domains?
2)pls help me to fill the following for domain2,
Host:
Database name:
User name:
Password:
Regards,
john
i am new to mysql and webhosting.
i have one website script,i want to instal the same script to my two domain
names(for example: domain1.com and domain2.com)
i dont want to add this two domain like addon domain.
i have two different hosting for this two domains.
for domain1 i have instal the script,during the installation the script asked
the following
i have filled the same below)Host:Local host
Database name:xxx
User name:YYY
Password:ZZZ
the domain1 is working fine.
for domain2 i like to use the domain1 database(xxx)(it is in diff hosting)
1)i want to know how to use the same database for diff domains?
2)pls help me to fill the following for domain2,
Host:
Database name:
User name:
Password:
Regards,
john
•
•
•
•
There shouldn't be a problem there. Use the same connection details for both domains.
•
•
•
•
for domain2 i like to use the domain1 database(xxx)(it is in diff hosting)
If not ask if it is posible, many providers do it, many refuse it as they do not knnow how

Once external access enabled your provider should also give you details how to connect to DB, can be IP or URL string
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Similar Threads
- 250 MB Disk / 40 GB Traffic Free PHP & MySQL Host (Web Hosting Deals)
- eGenre.com and OpenLiberal.com - Two domains being sold separately ($150 each) (Domain Names for Sale)
- 5 future Tech. .info Domains to invest in, dark-web.info, hdstation.info, etc.. (Domain Names for Sale)
- Northern VA - Expert Data Architect (Tech / IT Consultant Job Offers)
- Shopshot.com, iOwn.us & more quality domains .com .us & .info (Domain Names for Sale)
- Impressive domains with REAL WORDS - Tech, Social, Web, etc. Take a look! (Domain Names for Sale)
- Need a good MySQL Database guy (Web Development Job Offers)
- MicroOLAP Database Designer for MySQL (Post your Resume)
- Radical Vision, LLC - 2 Months Free - 4 GB Disk Space / 45GB BW / Unlim. Domains (Web Hosting Deals)
Other Threads in the MySQL Forum
- Previous Thread: mysql and oledb .net problems
- Next Thread: how to generate a mysql query from a english question
Views: 1170 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for MySQL
"use" .db 1 ajax alphabet amazon aws camparingtocolumns cascade cast code convert count count(col) data database delete design distinct ec2 eliminate enter error form generator html images innerjoins insert join keyword keywords matchingcolumns multiple multipletables mysql mysqldatetimeordermax() mysqlindex mysqlinternalqueries mysqlquery mysqlsearch noob number open operand oracle order parse pdf php print query recursive relationaldatabases relationship relationships remove reorderingcolumns resultset retrieve script search select simpledb sort sql statement string syntax table tree type-conversion update values welsh






