Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
|
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 9th, 2004, 09:22 PM
Authorized User
 
Join Date: Aug 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Create a database within a database?

I've created a database at my localhost, which works fine. I've requested my ISP to allow me use of MySQL and a database. They charged a small amount and created a database to their thinking—my login username! I uploaded the tables via a textfile.sql OK.

In order for my PHP files, many, to work, I'd have to find/replace all of the references to my original database to the new database name. What I'd like to do is add a database within the one they assigned. Can it be done? One of their support people said yes, another said no and asked for more money to make another database.

I've tried via telnet to create a new one but get caught with permissions denied. I've also tried using a txtfile.sql but get caught again.

Any suggestions?
 
Old September 10th, 2004, 09:28 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

What do you mean by creating database within a database? That is not possible. You can create another database or create table objects within any database.

_________________________
- Vijay G
Strive for Perfection
 
Old September 10th, 2004, 10:24 AM
Authorized User
 
Join Date: Aug 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks! You have just confirmed what I thought. The support personnel at my ISP need to get together! I didn't think creating a database within a database was possible.

TwoNames





Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i create a new ado database ? jerryham VB.NET 8 October 13th, 2008 09:21 PM
Unable to create database. rupen SQL Server 2005 4 December 6th, 2007 02:39 AM
How to create a Database koushikroy2001 SQL Language 2 January 4th, 2006 04:03 AM
Create database Yee MySQL 2 November 5th, 2004 06:14 AM
How to create a new database? gpc Classic ASP Databases 17 December 19th, 2003 10:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.