Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MYSQL     First Time Here? Click here to Learn browsing / view replies.


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





How Often Is Best To Create New Database, Migrate Data With Shared Hosting?


I have got a web site that I have ben working on since March, 2007. It is a news reporting web site. It is replacing an older web site.

I created a new database (it uses the MySQL database) last March when I started working on the new web site. I have migrated all of the news content from the old web site database to the new web site database.

I have a shared web hosting. It's my understanding that the hosting service provider fills up one server with databases then starts a new server with databases.

For example, the IP for the server that is hosting the current database for the new web site is 10.6.166.5

I just created a new database (the hosting allows you to have ten databases per shared hosting). The IP for the server for the recently created database for the new web site hosting is 10.6.166.92

If the servers are ordered sequentially there have been 87 new servers filled up with databases since last March (i.e. 10.6.166.92 recently created IP minus 10.6.166.5 March, 2007 IP equals 87 servers).

The problem with migrating the nine-month old database to the new database is that I have got over a thousand news stories and two thousand pictures stored in the database with the 10.6.166.5 IP address. I would have to copy and paste all of the data into the phpMyAdmin program or write a PHP script that would automate the process.

Is there any benefit to migrating the 10.6.166.5 March, 2007 IP database over to the more recently created 10.6.166.92 IP database? Would it be reasonable to expect the more recently created database to perform better over the next 12 to 18 months than the one created nine months ago?




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Why Dont Shared Hosting Accounts Provide Stored Procedures And Triggers?
i am searching for 3 days now for a reliable, fast hosting company, which supports stored procedures and triggers on mysql5. most of them dont support this, because mysql5 has a design-flaw in which it stores procedures and triggers on a root level-area (tables mysql information_schema). due this logic, most of the hosting companies wont allow you to create/run procedures and triggers. funny, that hosting companies forbid you to use new technologies and methods to build faster.

Migrate Data
how I can migrate data from Access to MySQL. I would appreciate very much is anyone can share his/her experiences with me.

Could Not Connect To The Database, Please Recheck The Settings You Specified. Also Make Sure That A Database With The Name You Specified Already Exists On The Database Server. PhpAdsNew Will Not Create The Database For You, You Must Create It Manually
The error message I get above is the same everytime when trying to install phpAdsnew. I have tried everything. I am hosted through yahoo! and have actually succesfully installed scripts before even though I know nothing about it. Now that I have a "auto-install", it does not work. Yahoo! also offers php-nuke with the auto-install where you just click a few buttons, and I get a similar error stating that it can not conect to the database.

Please can anyone help me and tell me what I am doing wrong?

Migrate 5.0 Database
HI am working on a website with CMS and i am having few issues.
I did my database for the CMS and i used the v5.0. from my computer.
I did not know in first place that the company that hosts the website were using v3.23.55 on solaris 8
I cannot import the datadabe or create a database with collation utf8_unicode_ci.
it gives me a syntax error.

Migrate Data From MSAccess To MySQL
I supposed this is a simple one, but here it is. How can i migrate date from MSAccess tables to MySQL tables?

Shared Column Data Transfer
I have two tables with one shared column. One other column in table 2 is empty but has to get filled with a value from one column in table 1.

select * from tbl1, tbl2 where tbl1.column = tbl2.column;

Above query gives me the results that need to be updated. What will the update statement look like?

Install To Find / Migrate Back Up Data
My server crashed and I backed up the DB files. I have reloaded MYSQL and it is running and copied the old db files back into a folder. how do I get MYSQL to see it as a database and work?

Multiple Database, 1 Shared Table, Is It Possible?
I Used MySQL for a long time dev under PHP 3, 4 and now 5

now i'm facing a problems that i solved in the past with php, but i wonder if MySQL could do it on it's own, that'll help me a lot.

Multiple database, 1 shared table, is it possible?

i mean, i already done with 5 install of Xoops CMS and modified it that every install is on the same database, with deifferents prefixes (like db1_ db2_ ...)
then i mod Xoops for each time it called for it's users or saved open sessions id in the DB it use the same table on all install... so the users seamlessly wonder about in 5 differents xoops install without disconnect and change username.

now i face the same problem, i need a multi-install or a single install of a core system that will act as a multi-install sofware, but with the same set of users, sessions and some other things.

Can A MySQL Database Be Shared Between Windows And Linux?
I've got Windows and Linux running on my computer, on seperate partitions. I also have a shared partition for stroing files, and can be read and written by either system.

I also have MySQL installed on both systems. When I make changes to the database in Windows, I have to do a dump of the database (or single tables) to a text file on my shared partition. I then have to switch into Linux and load that file into MySQL there. This is a bit of a hassle.

Is it possible to somehow store the database file on the shared partition, and use the same database from both OSes? This would be very convenient, since I wouldn't have to maintain two copies of the same database!

Extract Data And Create Database:
I'm working with this webpage (PHP/MySQL solution) locally and I'd just
want to ask if there was a program that could extract all the tables and
data from this local database (fx. to an SQL string) which I then could
use to recreate the database on the server? I reckon I can't just copy
the database, or?

Extract Data And Create Database
I'm working with this webpage (PHP/MySQL solution) locally and I'd just
want to ask if there was a program that could extract all the tables and
data from this local database (fx. to an SQL string) which I then could
use to recreate the database on the server? I reckon I can't just copy
the database, or?

Client App Connecting To A Hosting Database
I have installed this webapp http://www.webhelpdesk.com/ on my 2 computers. I want to setup both computer to pull data from my hosting database. I'm with dreamhost.com and when I created my database with the name webhelpdesk. When I checked the database its show as webhelpdesk.domain.com. When I try to change the database on the webapp I get the following: Could not connect to MySQL database 'webhelpdesk' on host 'webhelpdesk.domain.com'.
Please confirm the connection settings.

How Do I Import A Mysql Database To Godaddy Hosting Account?
i dont know whether this is the right forum 2ask on.... But Id like to know how can I upload import a Mysql database into my hosting account at Godaddy...


Can I Upload A MYSQL Database To My Free Web Hosting Space?
I have a domain with awardspace.com which has php and MYSQL enabled.

I am a newbie and not quite sure how to set it all up or if it's even possible with the Database I've created on my desktop.

When I go to the Database Manager in the administrator section it has a spot to create a database,and confirm a password. From there I take it you would use the PHPMyAdmin to alter the database.

Can I just upload a database using an FTP manager like Dreamweaver, or do I need to start from scratch and create the database on this server. If so is there a way to eventually download it so I don't lose any of the information in it.

Front-end To Create Reports And Queries, And To Load Data Into The Database
I've been trying to find a freeware front end to the MySQL database to
create reports based on queries, and some sort of front-end which I can
format for other users to use to load data into the db. Is there anything
out there for those functions?

Migrate DB From 5.0.51a To 5.1.30
It has a relatively large (17 table) database which is basically a custom made forum. It was made in MySQL 5.0.51a which at that time came as part of the WAMP5 server package for Windows.

It has been about a year since I worked on it. Foolishly, I did not keep hold of the WAMP5 package that I used.

I have downloaded the new WAMP5 package, which comes with MySQL 5.1.30.

At first, the old database was not visible to the new MySQL server version. On the old backup I have, the data was located in C:wampinmysqlmysql5.0.51adataaaron_forum. I have basically moved the aaron_forum directory to the new MySQL data directory at C:wampinmysqlmysql5.1.30data and it is now picked up by the new MySQL server installation... however... it doesn't contain any tables according to my PHP, or indeed to the MySQL server.

What is odd, is that it does actually display all 17 tables, but then when I try to open a table, it says that it doesn't exist. Quite interesting.

I wanted to know if there is a way to migrate the data from the 5.0.51a generated MySQL server to the new 5.1.30 server?

Migrate From 3.23 To 4.1
I'm trying to migrate our mysql 3.23 database files to 4.1, is there a tutorial for this? Do I just copy the MYI MYD, and frm files from the 3.23 data directory to 4.1 directory?

Migrate 4.1 To 4.0- Possible?
I am running a big Drupal site on Host B, which uses MySql 4.1.19. Host B sucks and I want to move to Host A. Except they are running MySql 4.0.27

How can I get my database to work? I tried using dbase from Host B on Host A and am getting syntax errors, preventing the tables from loading.

Quote:

MySQL said: Documentation
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1 AUTO_INCREMENT=1' at line 7

Create Error: Access Denied For User: '@localhost' To Database 'database Name'
I have already installed the php4, apache and mySQL on windowsXP SP2.
when I wanted to create database through PHP code it showed me error like this "Create Error: Access denied for user: '@localhost' to database 'database name'" and I can't even create database using mySQL either.

Migrate From Db2 To MySQL
send any documents for migrating from db2 to mySQL,
i dont have any knowledge in this regard.

Migrate The Records
in my records, there are some japanese characters and when i migrate the records to mysql, the data became some string like ???????? instead showing the japanese character correctly

Migrate Only Differing Rows?
Im currently using 'mysqldump' to dump the entire contents of my local database to my remote database.

This was fine, but now the database is huge, so I would like to know if there is a MySQL command/statement that compares the two databases and then only uploads rows that have been updated on the local database.

Is this possible to do? I can do this through PHP in a loop, but this takes ages, and I have a feeling there is a much more efficient way to do it using SQL statements.

Migrate Oracle To MySql
I am looking for the best solution for migrating Oracle DB to MySql DB that are both on UNIX Sun Solaris 9 boxes.

I started out with Oracle Migration Workbench, MySql Query Browser, Administration kit, Oracle client and an intermediate PC.

Haven't had any luck. I am getting plugin errors even though I can ping the source machine and put the plugins in the plugins directory.

Has anyone done this before. And if so, where did get the info from or how did you do it?

UDF Shared Library
I am trying to create a User Defined Function (UDF) using mySql 4.1.11 (mysql-max-4.1.11 for Solaris 8).

I am trying to get the examples to work (udf_example.so) I have successfully compiled it and copied the resulting .so file to /usr/lib. The command 'crle' (like ldconfig on Linux) shows that /usr/lib is in the library path, but when I type in mysql:

 CREATE FUNCTION metaphon RETURNS STRING SONAME "udf_example.so" 

I get the error 1126, Can't open shared library 'udfexample.so'

I've tries renaming the library 'libudf_example.so', but that didn't work either.
I don't know how to check what libraries mysql is looking through. I am just guessing that it uses the library path from 'crle'. Any ideas?

Shared Password
I've installed mySQL out of the box and set a new password for the root account, which works in the MySQL monitor but not with the mysqladmin tool.

Please can anyone advise whats going on or if I have to do anything else to get access to the admin tool?

Create Database Mysql Database In My System
I have installed MySQL 4.1.7-Standard in MacOS X (10.3.5). I have ONLY database test. According to the manual there should be TWO. test and mysql. I have re-run mysql_install_db several times with he same result. Can some mysql guru explain or point me to the right page to have this mysql database in my system?

MySQL And Shared Storage
--=_D38DA341.B3D2A80A
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

I would like to set up a round robin cluster with mysql. The round robin =
would be done through the DNS to two different servers. Each of those =
servers would have mysql installed and each would reference the same data =
directory on our SAN. Are there any problems with doing this?
=20

MySQL-shared RPM Install
I'm having problems installing the shaired libraries. This RPM came from
the MySQL.com download site.

[root@localhost src]# rpm -i MySQL-shared-4.0.17-0.i386.rpm
warning: MySQL-shared-4.0.17-0.i386.rpm: V3 DSA signature: NOKEY, key ID
5072e1f5

Replication Using A Shared Fileserver
I thought of a radical way to do replication of MySQL servers.

Let's assume two MySQl servers access a shared mapped storage (/mnt/db) which is a local mount to a fileserver on the network. This fileserver is shared between the MySQL servers; which means any writes to /mnt/db appears immediately on /mnt/db on the other MySQL machine. Two MySQL servers may attempt to modify to the same file if we don't use synchronization.

My question is, first, can we do this without making patches to MySQL code, and somehow using some synchronization mechanism accross the two machines running MySQL server each. Or we need to patch MySQL code to support such architecture. Second, is it trivial or impossible to do, how much man-time it requires roughly.

Connections On Shared Server
I frequently get the error message:

Warning: mysql_connect(): User user1 has already more than 'max_user_connections' active connections in /home/.sites/60/site23/web/Connections/mysite.php on line 9

It's commercial web hosting on a shared server so I have no control over the server side of things. The php scripting has been written using the GUI in Dreamweaver.

Is there anything I can do to resolve this? Should I be using mysql_connect or mysql_pconnect, or is this not the problem? Do I need to include somewhere in my scripts a snippet which disconnects from the server? If so where would I put this? I am not all that familiar with php and mySQL, though I understand parts of it when looking at the code.

The database connection is made via a connection.php file produced by Dreamweaver which includes the database details etc.

My max connections are only 10. Is this the issue? It only seems to appear when I use php to edit or add to the mySQL database.

Find Shared Values
Say I have a one long Table of people and the foods they like.
How do I find all the foods that are like by both of two particular people?

ie
David peas
Kate sausages
Kate eggs
Bill eggs
Kate peas
Fred sausages
Fred peas

and i want to find out what both Fred and Fate like:

How To Find Out Values Shared By Some Members
I have a table contains words extracted from documents which are belonging to a number of categories. Each category contains a number of documents. For each category, I want to find out those words which occur at least in N documents belonging to this category.

Code:....

Security For Shared Server.xml Passwords
I have an ISP that has the server.xml in a shared environment. The server.xml file is where my password is available for database access under connection pooling. I really would like to use connection pooling.

Does anyone know how I can protect my password from being viewed by others using the same server.xml file? I cannot get the administrator to change the protection of the file because others in the shared environment need to be able to view it.

Cannot Open Shared Object File!
i just upgraded from MySQL 4.1 to MySQL 5.1. But when i try to run a program, i'm getting this error:

error while loading shared libraries: libmysqlclient.so.14: cannot open shared object file: No such file or directory

DB Hosting
I Was looking for a bit of advice, I am new to mySQL and the whole idea of building DB's and websites. There are a few things I would like advice on.

If I wanted to put a database that I have made on mySQL onto a webserver how can I do this?

Also if I built a website with a db for say a small business would it be a good idea to place the DB on a webserver? I.e. would the db information be safe? Is there a better way to do this?

ODBC Connection To MySQL On Shared Hosted Website
I'm trying to connect to a mySQL database that exists in connection w/ my website. I created the database using c-panel. Everything that I use to access the website from my site uses "localhost" as the host name. I installed the ODBC drivers for Windows on my XP machine and am trying to connect from my local machine.

I am not sure what I should use for the hostname in that case -- I tried www.mysitename.com as the host but that didn't work. I also tried the IP address, but that didn't work either. I asked my host's support team, but haven't heard back from them yet. It's a shared hosting service. Any ideas on what the hostname should be?

Create A Database From Access Database
i create a database by access, how can i use it in mysql 5.0.18.

Hosting MySQL
Any good tutorials on setting up the MySQL server for hosting? is this even possible in the community version?

Web Hosting Databases
Many times we want to be able to manage our databases stored in the web hosting but these only can be manipulated with the PhpMyAdmin.PhpMyAdmin is a simple but useful tool.
To people that use MySQL Clients a very good alternative it is the SSH Tunneling, throught this one we can carry out connections to web hosting that supports SSH.
SSH can be used to encrypt communications between MySQL Client and your remote MySQL server in your Web Hosting.The prime benefit of SSH tunneling is that it allows us to connect to a MySQL server from behind a firewall when the MySQL server port is blocked.

MySQL Hosting
does anyone know a stand-alone MySQL host... i need to be able to access a MySQL database from anothersite... seperate from the host of the MySQL database...

Info On Web Hosting
is it my sql that you need to but an ipb (free) becuase i want to knoe how to install my forum as im not quite sure.

Errors Get When Try To Migrate Form Mysql4 To Mysql5 Using Mysql Migration Tool
I am running mysql server 4.0. I have installed the mysql5.0 in the same server. When I try to migrate form mysql4 to mysql5 in the same server I get java heap space error. I was looking the google the change the java heap space. But did not get any thing. I am running with win2k and mysql4 and mysql5 with JVM installed with 512 MB Ram.

There for I tried some other way. Even I installed my sql 5 in some other server in LAN whitch has more RAM and then try to migrate form mysql4 to mysql5 though the LAN I get some strange error saying Code:

Best Way To Create Sample Data
I know this is going to be stupid but here goes...

I am a noob to mysql and am therefore having to do things by small steps.. I am therefore creating tables and then trying to work out the queries i need to link thme and get meaningful results..

to this end i want to populate the tables with some psudo data that is realistic so i can work out if my queries are working correctly.

At this time i have two options available - randomly add data via the INSERT command, line by line or to try and create a mass csv file to import many rows - to create them the easiest way i know is to use a spreadsheet and export them - however you need to concatenate all the columns into strings etc and ensure the data is in the correct format and strings have ' and not " etc.

I have tried a tool to automaticaly create data - but the result is not plesent as string text is pure random crap - and therefore is useless for learning how to use the LIKE statement for example.

So, i was wondering what do other people do to create meaningful sample data to test their Db's?

NySQL Hosting Provider
would be interested in any advice since this is new territory for
me -- my experience has only been with Access so far, and for situations
where only I could modify the database. But now I have a web
application where lots of users need to have password access and be able
to modify their own data etc, and where I need to be able to administer
the whole thing.

Hosting Service's SQL Command
I have been having trouble getting the following statement to work to populate my databse with data from a text file.

LOAD DATA INFILE 'Listings-Residential.txt'
INTO TABLE `RESIDENTIAL`

According to my hosting company's support, cPanel configures databases in such a way that this statement will not work.

My question is, I also have access to a co-worker's hosts - one that runs Plesk and one that runs Verio's control panel. Do either of these panels disallow this statement? Is this a common thing, that control panels configure databases in such a way that certain commands cannot run on them?


Copyright © 2005-08 www.BigResource.com, All rights reserved