Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
[PAYH] Add new database?
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- [PAYH] Add new database?
[PAYH] Add new database?
15-10-2008 10:54 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I have just had the new hosting set up and Plusnet has pointed my domain to the new space but I can't add a database.
Plesk tells me that I have two domains:-
mydomain.co.uk
mydomain.plushost.co.uk
If I have a look at the plushost.co.uk domain then it allows me to add a db. If I have a look at mydomain.co.uk then there is no option under the Tools section. Any ideas?
I realise that I am only allowed one database but how do I change it from the plushost.co.uk subdomain to my registered domain?
Plesk tells me that I have two domains:-
mydomain.co.uk
mydomain.plushost.co.uk
If I have a look at the plushost.co.uk domain then it allows me to add a db. If I have a look at mydomain.co.uk then there is no option under the Tools section. Any ideas?
I realise that I am only allowed one database but how do I change it from the plushost.co.uk subdomain to my registered domain?
Message 1 of 9
(1,698 Views)
8 REPLIES 8
Re: PAYH - Add new database?
16-10-2008 8:28 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi
By default the database is given to the first domain that is added to the account, to change this, you will need to log in to your control panel, click home, then on to the domain name, ensure that you have no database created, and then click on limits and change database to 0.
Then you need to go in to the other domain, click limits and move up to 1
Hope that helps
By default the database is given to the first domain that is added to the account, to change this, you will need to log in to your control panel, click home, then on to the domain name, ensure that you have no database created, and then click on limits and change database to 0.
Then you need to go in to the other domain, click limits and move up to 1
Hope that helps
Message 2 of 9
(586 Views)
Re: PAYH - Add new database?
16-10-2008 10:20 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
This worked for me.
Message 3 of 9
(586 Views)
Re: PAYH - Add new database?
16-10-2008 11:02 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks for that. I even looked for that option last night and couldn't see it. Must've been the cider!
Message 4 of 9
(586 Views)
Re: PAYH - Add new database?
16-10-2008 11:40 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Another problem. I have created the new db but when I try to import the previous db I get an access error:-
SQL query:
--
-- Database: `olddb_pn`
--
CREATE DATABASE `olddb_pn` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
MySQL said: Documentation
#1044 - Access denied for user 'myusername'@'%' to database 'olddb_pn'
What is the best way to go about reinstating my old database to the new server?
SQL query:
--
-- Database: `olddb_pn`
--
CREATE DATABASE `olddb_pn` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
MySQL said: Documentation
#1044 - Access denied for user 'myusername'@'%' to database 'olddb_pn'
What is the best way to go about reinstating my old database to the new server?
Message 5 of 9
(586 Views)
Re: PAYH - Add new database?
16-10-2008 11:43 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi
You need to remove the first section of the export before you import it, so the it starts with CREATE TABLE
Let me know if that helps.
You need to remove the first section of the export before you import it, so the it starts with CREATE TABLE
Let me know if that helps.
Message 6 of 9
(586 Views)
Re: PAYH - Add new database?
16-10-2008 11:57 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks again. That seems to have worked. Time to see if I can get the rest working!
Message 7 of 9
(586 Views)
Re: PAYH - Add new database?
16-10-2008 2:04 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Okay. Everything seems to have gone well but I have noticed one little glitch so far. On one of my pages I use a PHP include to drag in the METAR and TAF information from the noaa.gov website. According to the message I am getting the server doesn't allow URL file-access. Is this what the PHP Safe mode is all about? Any way around it?
Message 8 of 9
(586 Views)
Re: PAYH - Add new database?
16-10-2008 3:21 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Ah sorted it. It appears to be a new function of PHP 5 to stop malicious code. Managed to get around it using:-
<?
$a = file_get_contents("http://weather.noaa.gov/pub/data/forecasts/shorttaf/stations/EGPB.TXT");
echo ($a);
?>
Message 9 of 9
(586 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- [PAYH] Add new database?