Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MYSQL


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





Installing Multiple MySQL Servers


If you need multiple MySQL servers running, what's the difference between installing MySQL once and running multiple servers (by issuing multiple mysqld commands with their own options), versus actually installing two or more DIFFERENT instances of the same version of MySQL?

What is typically done? What are the advantages/disadvantages of either method?




View Complete Forum Thread with Replies

Related Forum Messages:
Replication With Multiple Servers In Mysql ?
I want to establish replication between multiple (currently three) servers.
Updates/inserts/deletes may happen on all of them. The idea I came up with
was to do a "circle"-replication. The problem with this is, that if one
server fails the rest may not get updates (until the server is back,
obviously).

Does anybody have an idea how to establish such a replication in a fail-save
manner ? Code:

View Replies !
Replication With Multiple Servers In Mysql
I want to establish replication between multiple (currently three) servers. Updates/inserts/deletes may happen on all of them. The idea I came up with was to do a "circle"-replication. The problem with this is, that if one server fails the rest may not get updates (until the server is back, obviously).Does anybody have an idea how to establish such a replication in a fail-save manner?

View Replies !
Multiple Mysql Servers On Linux RedHat
I am trying to figure out how to install 2 different versions of MySQL, 4.x and 5.x on a Redhat 3 server.

View Replies !
Connect/ Join Query Multiple Dbs Multiple Servers
Struggling to connect simultaneously to remotehost@my_ip_address
AND localhost@my_field_db FROM my_field_tablet_pc to affect
a custom sycnchronization that SQLyog will not allow.

Both remotehost and localhost are built on WAMP stacks.

View Replies !
Multiple Servers On The Same Host
Well i want to run multiple servers on the same host, has somebody a Howto for this?
Code:

View Replies !
Moving Multiple Databases From Different Servers To One Db Server
I'm trying to move three MySQL databases, currently residing on two different servers, on a third dedicated database server:

Old Server 1: db1a, db1b
Old Server 2: db2a
New Server 3: <move db1a, db1b, db3a here>

All three databases are quite large, 8+ gigs in size, so I was suggested to copy over the data directories, containing these databases, to /var/lib/mysql on the New Server 3. I can foresee potential conflicts due to files and directories with same names on both Old Server 1 and Old Server 2 (specifically, ib_logfile0, ib_logfile1, /mysql/*, etc.).

Are there any MySQL tools available that would allow me to either fix the databases afterwards, or consolidate the overlapping data? Maybe a better way to achieve this?

View Replies !
2 Mysql Servers
I have a Mysql server lets call it "Production", but also do lots of development when traveling (offline) on my laptop, where i also have mysql instance installed + php + apache .... both MySql are 5 and same build running on windows.

What would be the best way to "replicate" Mysql from my laptop to the server when I get connected. One way solution (from Laptop to Server) would be great, but both ways (whichever is newer gets replicated would be excellent). thought about replication but i undertood that the master 'version' will always be writen to slave.

We need to consider any kind of changes, table changes, dbs change, users, data, etc...

Hope you can give me a light, it is not a large amount of data, and i would not mind a very manual process, as long i can script it or if it is a few steps only.

View Replies !
MySQL Databases And 2 Servers
We are planning to reprogramm our search machine and website. Since we
have call agents who query the same database as the customers do, we
had the idea of splitting the database to 2 servers.
The call agents can update customer data with our intern webinterface,
which not only concerns tables that are for the call agents, but also
concerns tables of the search machine, holding company data such as
address, search words, etc. Since the customer himself can administer his
own data, as well as the call agent (or media agent), I was thinking
of doing following:

* I have 2 servers. Server 1 is responsible for the search machine and
just serves customers searching for a company or for products. The
MySQL database is there just for querying.
* Server 2 serves call agents, as well customers who want to change
their data, reading and writing.
* Since the search machine should of course show updated data the call
agent or the customer have eventually changed, the data from server 2
must be synchronized with the MySQL databese of server 1. (e.g. at
midnight)

Questions:
-------------
0. Is the above described the right way?
1. What do I have to consider when planning the database structure?
2. How do I synchronize? Can I copy specific tables from one server to
another using cronjobs (crontables)? Since this is absolute newland to
me, how?

Any expert knowledge or experience with MySQL replication or MySQL
clusters? I think replication is just thought for mirroring, or am I
mistaken?

View Replies !
Consolidating MySQL Servers
My organization currently has 2 different MySQL database servers. We
are in the process of moving the databases from Server A to Server B
and have Server B be our primary database server. I've done some
research on the web and believe the best option is to use the
"mysqldump" command to remotely recreate Server A's databases on to
Server B.

Can anyone please advise whether this is the best option? Also, using
the "mysqldump" command, are there any overwrite issues, such as
existing tables on Server B being overwritten by tables with the same
names from Server A. Would these tables be simply overwritten or
would there be any type of warning prompt?

View Replies !
One (phisical) DB And 2 MySQL Servers
Is it possible, that couple of MySQL servers wcan work simultaniously with one (phisical) DB?
My task is following:
I have to computers and thay both have one (and the same)å SCIS Raid harddisk.
This all together shall be a MySQL Server.
have can MySQL be installed so, that DB will be placed in one pace (SCIS Raid), and MySQL works simultaneously on both computers.
what concerns MySQL Cluster, as much as i've understood it is designed to store one DB in different places - distributed by cluster nodes. It is too much for me, isn't it

View Replies !
Several Mysql Servers On 1 Machine
Is it possible to setup 2 mysql servers on a Linux platform?

For example, both are listening on different sockets. They have different processes, working directory, setup directory.

I've seen the my.cnf on my machine but I can't see any socket number.

View Replies !
MySQL And Free Web Servers
can you use MySql on web Servers like
Freewebs.com,Yahoo!geocities, aol home town ans sites like that.

View Replies !
Mysql On Windows Servers
Will mysql work with microsoft server products? Does it lose any funtionality? Would it be better to use mssql?

View Replies !
Two MySql Servers, One Database
I have two MySql servers, one in my local PC and one as a testing server in the next room. Using DW 2004 I can use the "put" and "get" to get my PHP files from one PC to the next quicky. How can i do that with the two MySql servers? So if I change the Structure of a table or and data to the Mysql database on my local PC, it will send the changes to the testing server.

View Replies !
Two MySQL Servers Share Data
Is it possible to have who MySQL servers contact eachother at a certain time intervul and send data to each other?

For example: Mysql A is empty. Mysql B is used for all kinds of things. I want Mysql B to send certain tables to Mysql A every 5-10 minutes.

View Replies !
Bulk Copy Between Two Mysql Servers
I want to transfer data between two mysql servers running on two between machines and i want to add this option in may application. so can any one tell me throught which commands i can do this.

View Replies !
Detecting MySQL Servers On LAN's
I want to build a script/app to make an inventory of all computers that run MySQL servers. And if possible return their versions. I would be running this script/app from a Windows system, so I would like to use VBScript or Visual Basic 6.0. This way the people I am working with will be able to understand what I am programming too. Further more it would be nice if I couldn't only detect the Windows machines, but also other systems (mainly Linux). Can this be done? And how?

View Replies !
Apache &amp; MySQL In Differentes Servers.
I've been running a slow Debian machine, with Apache + PHP + MySQL. But, with the time and usage, it's getting to slow to use MySQL. So, now I have another machine (running Debian too), and i've installed MySQL there with all the databases and users moved on to, it works perfectly (with phpmyadmin). What I want is to have the first machine running apache + php, and in the other MySQL. How can i do that ?

I've tested making a mysql_connect from a page hosted in the first machine to the other one running MySQL but i didn't work, couldn't connect. I've tried redirecting mysql port to the other machine (iptables) and that didn't work either...

Resuming... I want all my users to work with the first machine, they have their accounts in there and all their files, their pages, etc... And the database running in the other machine.

View Replies !
MySQL Percentages And Use Indexes On Servers
Working on a MySQL based project: ¿where can i find charts of utilization, percentages of servers using MySQL, comparison charts, etc.? Two days on Google, but nothing.

View Replies !
MySQL Admin :: Administrator For MySQL Servers Has Encountered A Problem And Needs To Close
have just installed it and am having no luck getting past the Server Instance. I put in the Server host as "localhost, the Username as"root" and the password I created at the beginning. I hit OK and I get this message...

"Administrator for MySQL Servers has encountered a problem and needs to close. We are soort for any inconvenience." I made sure that Port 3306 was available.

View Replies !
Changing Servers With Lower Mysql Version
I am trying to change servers and the new server is hosting a lower version of mysql therefore giving me errors when trying to import db.

The dbs are for postnuke and here's the error I am getting:

Error
> SQL query:
>
> -- phpMyAdmin SQL Dump
> -- version 2.8.2.4
> -- http://www.phpmyadmin.net
> --
> -- Host: localhost
> -- Generation Time: Oct 04, 2006 at 12:33 PM
> -- Server version: 4.1.21
> -- PHP Version: 4.4.2
> --
> -- Database: `betweent_business`
> --
> CREATE DATABASE `betweent_business` DEFAULT CHARACTER SET latin1 COLLATE
> latin1_swedish_ci;
>
>
>
> MySQL said:
>
> #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 CHARACTER SET latin1 COLLATE latin1_swedish_ci' at line
>
> I know a little about mysql, but not enough to mess with this...
>
> New version: MySQL - 4.0.27-standard
> phpMyAdmin - 2.8.0.2
>
> My old version: MySQL - 4.1.21-standard
> phpMyAdmin - 2.8.2.4

View Replies !
What Makes Two Mysql Databases In Two Different Servers Connect?
what makes two mysql databases in two different servers connect? Is it enough with mysql sintax? Do i need another application? Which?

View Replies !
Link Two Mysql Databases On Two Diffrent Servers
I have 2 different MYSQL databases on two different servers.I want to link the two databases.Is there any mechanism for this like we have database link in oracle.

View Replies !
[ERROR] Table Mysql.servers Does Not Exist
have installed WAMP 2.0 and everything seems to work fine. I am learning PHP and MySQL. I am also using hMail server to send mail. Everytime I try to send an email using a PHP script I get the following message (Error querying database). This is what I get in the MySQL Log:

090218 16:50:35 InnoDB: Started; log sequence number 0 46409
090218 16:50:35 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
090218 16:50:35 [ERROR] Incorrect definition of table mysql.event: expected column 'sql_mode' at position 14 to have type

View Replies !
Migrating Mysql Servers Between Windows Machines
I just had to do a mass data switch to my windows server.It's been running apache with php and mysql for over a year now.

This data switch meant i just copied the files over to an almost exact copy of my current windows installation.Unfortunatly mysql didn't startup the way everything else did.Now the server won't start at all(dies on startup.) If anybody knows any problems that would probably result from migrating MySQL i'd be highly appreciative. Short of that,how can i find the errors mysql is having,thus allowing me to diagnose a solution the problem.

View Replies !
Mysql Sql Access 2 Servers In Single Statement
Is it possble to access databases in 2 server simultaneously in sql using the mysql client?

I can use sql to access multiple dabases on the same host1 server when I run 'mysql -h host1' but I cannot find a syntax to access databases on another server, which is supported on other db software.

View Replies !
Moving MySql From Development Server To Other Servers
I am using Dreamweaver with php, mysql and Godaddy for Hosting. I have a website developed that runs fine locally using the localhost for both the Web app and MySql. What is the process that I go to to move or export the databse from the development server to Godaddy's MYSQL server. I have not found an "export" function using MySQL Adminstrator, or MySQL Control Center.

View Replies !
Compile Data From MySQL Tables On Different Servers
I'd like to retrieve data from MySQL tables on websites A, B, and C, to display on website D -- is this possible? Basically, from site D, I'd like to compile the last entries in specific tables in sites A, B and C, and show them on a "summary page". Do I need to import the data into a local (site D) table, or can I retrieve the data from A, B and C on the fly?

View Replies !
Installing MYSql 4.0.12
I have downloaded MySql-standard-4.0.12 FOR MAC from the MySql website.
I have installed it on Mac OS X 10.1.3.
When i am starting the MySql, it starts and ends with the message
"030821 <time> MySqld ended".
Does anyone know what the problem is ...?

View Replies !
Installing MySQL On Mac OS X....
Just in case anyone has the same problem. After a few hours, I found
the solution for installing MySQL on Mac OS X. As well as a ton of
other people, I was getting the error...
Can't connect to local MySQL server through socket '/tmp/mysql.sock'
Its a problem with permissions. Try this from the terminal, it worked
for me...

sudo chmod 1777 /tmp

and

sudo chown -R mysql:mysql /usr/local/mysql/data



View Replies !
Installing Mysql On Rh9
im having a nightmare tryng to get mysql to work on rh9. ive tried v4.1 and that didnt work so ive gone to v3.23.49-1 i386.

Anyway ive looked around and downloaded a tutorial and done exactly what they have done in the tutorial, but i get an error when i run isql it says

Quote:
Could not SQLConnect

Ive set the directories of the driver & setup file in the odbcinst.ini as he did in the tutorial

View Replies !
Mysql Installing
now i need to download mysql.can anybody tell me which version of mysql is supported for my platform?also mysql server and client i knew.apart from that, what are the mirrors i need to download? also tell me how to install it and where to install ( means the location . is it in /usr/local or something else).actually am going to work with perl and mysql.hence ,i need this mysql to be installed in the system.

View Replies !
Installing MySQL 5.1 On Mac OS X 10.5.6
The data directory had already been created on my machine, so I assumed that step 2 of the post-install process was not needed.

Step three (bin/mysqld_safe --user=mysql &) failed with the following error:

[1] 400
anuraag-tiwaris-macbook-pro:mysql anuraagt$ 090312 01:08:01 mysqld_safe Logging to '/usr/local/mysql/data/anuraag-tiwaris-macbook-pro.local.err'.
touch: /usr/local/mysql/data/anuraag-tiwaris-macbook-pro.local.err: Permission denied
chown: /usr/local/mysql/data/anuraag-tiwaris-macbook-pro.local.err: Permission denied
090312 01:08:01 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
bin/mysqld_safe: line 96: /usr/local/mysql/data/anuraag-tiwaris-macbook-pro.local.err: Permission denied
rm: /usr/local/mysql/data/anuraag-tiwaris-macbook-pro.local.pid: Permission denied
bin/mysqld_safe: line 133: /usr/local/mysql/data/anuraag-tiwaris-macbook-pro.local.err: Permission denied
090312 01:08:01 mysqld_safe mysqld from pid file /usr/local/mysql/data/anuraag-tiwaris-macbook-pro.local.pid ended
bin/mysqld_safe: line 96: /usr/local/mysql/data/anuraag-tiwaris-macbook-pro.local.err: Permission denied

View Replies !
After Installing MySQL
I finished installing mysql, windows 4.1 essentials, on my machine. I have a fully functional Apache client with PHP, CGI, ASP, etc. ready to go on it.

I want to know if there is anything else I need to do, because I'm _new_ at this...
What should I put in httpd.conf to get mysql working?
Do I need any other programs?

View Replies !
Installing MySQL From RPM
I am very new to DB installations. But either way I am in charge of setting up MYSQL on our server. Here is what I know. I downloaded MySQL-server-community -5.0.51a-0.rhel3.ia64.rpm

i used SSH to put the file on my root now I am using PUTTY to load. but I am completely lost from here. Is there any set directions to install?

View Replies !
Installing MySQL 4 Or 5
I've got a G4 that runs OS X 10.2.8 and Apache 1.3 I've been trying to install MySQL for a couple days now. I run the installer and it says Installation successful then I install the pref pane, restart the G4 but when I select the MySQL preferences and try to start the server nothing happens.

I've tried shutting down any other MySQLs with the Terminal but that comes back with "command not found" I can't find any new MySQL folders either. Any suggestions?

View Replies !
Installing MySQL On Mac OS X
I have just purchased the sitepoint book, "Build your own database driven website using php and mysql". I'm obviously new to this and I went to the start of the Mac OS X installing mysql. I have downloaded MySQL and installed it. It then tells me to open up the terminal window and type in the command:

shell%sudo /usr/local/mysql/bin/mysqld_safe

It then tells me to make a file my.cnf and put it in the file:

/usr/local/mysql/data/

When I do a search for this folder I get the result "The folder cannot be found".

I have tried going back to the terminal and entering the above code again but it says "A mysql process already exists".

This is how the terminal displays when I have typed it all in:

Welcome to Darwin!
Darrens-Computer:~ Darren$ sudo /usr/local/mysql/bin/mysqld_safe
Password:
A mysqld process already exists


View Replies !
Installing MySQL 5.0.27 On OS X 10.4.8
I'm on page number 29 in "Build Your Own Ruby on Rails Web Application" where Patrick is instructing us on how to install mySQL. I've downloaded the current stable release of mySQL, run the mysql-standard-5.0.27-osx10.4-powerpc.pkg and was told that the installation was successful. Here is my concern:

I remember many months ago when I was fooling around with PHP and I recall installing multiple versions of PHP and mySQL on my machine. I remember specifically using Marc Liyanage's packages available on www.entropy.ch as well as MAMP.

Now, when I execute the following commands as per Patrick's instructions, I receive errors.

From the book:

Quote:

Excellent. Next, we need to start the server—we’ll do this manually for now.
Open a Terminal window and enter the following command:


$ sudo /usr/local/bin/mysqld_safe5

This is returned:

Password:
sudo: /usr/local/bin/mysqld_safe5: command not found
mason:~ Mason$
Included in my mysql-standard-5.0.27-osx10.4-powerpc.dmg file is a ReadMe.txt, which provides a different command for connecting to the mySQL server. That is:

$ sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
Which after entering that, I receive:

Starting MySQL database server
And yay, the server appears to have been started!

Once MySQL is running, you can tell it to run in the background by hitting Ctrl-
Z, then entering this command:

$ bg

When I press Control-Z and enter 'bg', the message returned to me is:

-bash: bg: current: no such job
Hmm. Does that mean mySQL really isn't running? Also, what does pressing Control-Z do? Anything special? How do I know that whatever it's supposed to do is actually being done? Should something indicate that it's been pressed?

Not knowing what to do, I proceed with his further instructions to:

Quote:

...close the Terminal window; MySQL will continue to run as a server
on your system. Now, all that’s left to do is confirm that the MySQL server is
indeed running as expected. In your Terminal window, type the following:

$ ps -ax | grep mysql
This command should return a few processes that relate to MySQL.

Running that command returns this:


4903 p1- S 0:00.04 /bin/sh ./bin/mysqld_safe --datadir=/usr/local/mysql/
4922 p1- S 0:05.15 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysq
7260 p1 R+ 0:00.00 grep mysql
Since I'm new to all of this, I can't tell if that's good or bad or if that means mySQL is actually running or it isn't. It does at least appear to show the processes that are running, like he said. Does anyone know if mySQL is actually running though?

He goes on to say:

Quote:


If it does, you can try to connect to your database with the following
command:

$ mysql5
This should present you with a mysql> prompt


I figure, since it does return some processes, like he said it would, it's ok to try that command out. But, oh noes! This is what happens when I do:

-bash: mysql5: command not found
So, just out of curiosity, I decide to look in /usr/local/bin/ where apparently this thing belongs, but it isn't there!

So now I'm at an impasse. I have to wonder, could my previous installations of mySQL be conflicting somehow with my recent one? Why isn't mysql5 in /usr/local/bin/ and why am I not being presented with a mysql prompt when I enter mysql5 into the command line?

I'm not sure if I should proceed in the book without first working this out as I question whether or not leaving it unresolved could create more problems and confusion for me down the line.

View Replies !
Help Please: Installing MySQL Etc.
I'm trying to install MySQL and PHP onto my machine (A Mac with OS X 10.4). I think I've done it but I'm not sure. And I haven't been able to setup a root password. I'm working through the "Database Driven Websites" book.

I've done eveything but then I get stuck on this next bit which I think is to set a root password. It says to type in "mysql -u root mysql" into my terminal but when I do it just says "-bash: mysql: command not found". I don't know if its to do with not being in the bin directory? But I don't know how to do this. I'm very new to this all.





View Replies !
Installing MySQL RPM On Linux
I am trying to install MySQL with this command:

rpm -ivh MySQL-server-4.0.13-0.i386.rpm

I get bunch of errors regarding conflicts with the existing
installation (files in /usr/share/mysql/.....)

1. Originaly mySQL was isntalled with Linux 7 install
2. I can't un-install mySQL via Linux Add/Remove program, I get an
error stating sthat shared library option must be selected (it's is
selected)

3. I have deleted /usr/share/mysql directly, but still have a problem.

View Replies !
Problem Installing Mysql 4.0.14
I have tried to install mysql 4.0.14 and previous version on my machine.
After installation when I try to run mysql, i get error:

"Cannot connect to localhost port..."

my machine is not connected to internet. I also have firewall installed on my
machine, but this should not matter.

View Replies !
Installing MySQL V4.0.14b For Windows
I have just downloaded MySQLv4.0.14b for windows and 21% through the
installation, it displays the following error:

An error occurred during the move dataq process: -132
Component:
File Group:
File:

The MD5 hash matches the one on your website and I have spent another 5
hours or so downloading it again from your main site instead of a mirror
site, but it stills does the same thing. I'm installing it into the the
same folder as the previous version (3.23.49).

View Replies !
Solution For Installing MySQL On Mac OS X
Just in case anyone has the same problem. After a few hours, I found
the solution for installing MySQL on Mac OS X. As well as a ton of
other people, I was getting the error...

Can't connect to local MySQL server through socket '/tmp/mysql.sock'

Its a problem with permissions. Try this from the terminal, it worked
for me...

sudo chmod 1777 /tmp

and

sudo chown -R mysql:mysql /usr/local/mysql/data

View Replies !
Error In Installing MySQL
I have the following errorw while i try to execute the MySQL-Front. Any one can tell me about the problem ? As i have no errors at all before i format my computer, i use the same version of MySQL and MySQL-Front.Thanks.

===========================================
Connection failed
1251 - Client does not support authentication protocol requested by server; considering ugrading MySQL Client.
===========================================

View Replies !
Installing Local MYSql
I want to install mysql on my local machine so I can test scripts and run code. Does anyone know which package I need to use and how to do this?

View Replies !
Installing MySQL For Study
I want to install MySql on my computer, so that I can use it for studying. I want to create tables and run queries from my computer. CurrentlyI have installed mySql and all its components,but I dont know how to customise it to my needs.Can any one help? Or is there any other sql interpreter so that I can use it to build tables and queries for educational purpose.

View Replies !
Successful Installing Mysql 4
IThe problem is talking about "Error: Driver 3.51 Not found" when opening winMySQLAdmin. The problem still exists after installing myODBC and making other configurations anyway.

But when I notice the download section in mysql.com, it states the windows installer unzip in C: . So, mysql should be installed in C: but not other driver because I have tested that mysql does not run when installing in other drive but does when installing in C:

View Replies !

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