Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: Mysql database splitting over network drives

Started 1 month ago by big JME
ok then i currently have 2 systems for my mysql server, one as a master and one as a slave. if the master goes down then the slave instantly takes its place on the network however storing the database between the 2 without telling all commands to run on both servers would be a pain therefore i though of the idea of having a shared network drive that connects to both systems and then ...
Site: Dev Shed Forums - Open Source web development  Dev Shed Forums - Open Source web development - site profile
Forum: MySQL Help  MySQL Help - forum profile
Total authors: 2 authors
Total thread posts: 13 posts
Thread activity: no new posts during last week
Domain info for: devshed.com

Other posts in this thread:

sr replied 1 month ago
Well I'm not entirely sure how you mean. Running several mysql several servers against the same datadirectory (the physical files) is not recommended. And if you say "network drives" what are you referring to here? Some sort of NAS? If it is then you should also avoid it for performance reasons. Mounting a volume over a network is much slower than running it off an internal ...

big JME replied 1 month ago
the reason for this is we have a mysql database set up for our systems however we need no downtime as the servers are used all day. which is why when a server needs upgrading then without having downtime i could unplug the main one needimng upgrade, upgrade it whie the slave server takes its place and then once upgraded you can simply connect the upgraded server to the network and ...

sr replied 1 month ago
Quote: Originally Posted by big JME therefore like you suggested i would like to have 2 mysql front end servers set up one on the master and one on the slave and then the mysql database tables stored on the network drives OK, your main goal is uptime. Cons with the NAS/SAN solution: You don't provide any redundancy for the data storage. So what do you...

big JME replied 1 month ago
ok get what yours saying so what would ou suggest for having the database sybnc on both systems at the same time? tell the mysql command to run twice one for each server so they are identical and a longer run time of what? im no expert on this as im to be honest a n00b to setting up cluster even though i have an IT professional helping me set up and run the servers the idea of the ...

big JME replied 1 month ago
also a very quick off topic i have the following query running on my system PHP Code: mysql_query ( "SELECT * FROM 1users order by Points DESC LIMIT 20" ); however i have now found that a Point value of 1020 is shown below 155, any ideas how to get it to show the proper order so that 1020 is higher then 155? ...

sr replied 1 month ago
Quote: Originally Posted by big JME however 1095 is higher then 870 so it should shoow 1095 at the top and not last it is almsot like the request is only reading the first 2 characters of the number. any ideas? this question is stupid i know but i can not figure out why its not working Your problem is that the Points column is a string column like CHAR or ...

big JME replied 1 month ago
ok now i feel ashamed that i couldnt figure that out

sr replied 1 month ago
Quote: Originally Posted by big JME ok get what yours saying so what would ou suggest for having the database sybnc on both systems at the same time? tell the mysql command to run twice one for each server so they are identical and a longer run time of what? im no expert on this as im to be honest a n00b to setting up cluster even though i have an IT professional ...

big JME replied 1 month ago
yeh my server atm has had constant connection for 165 days without powering off lol, so what would you use for storing the db on both servers in terms of a software or settings? as currently i have 2 small computers with 1 internet conenction each so i cant link them together but could send the quary to the slave over the network to its network ip couldnt it? never ever done this before...

sr replied 1 month ago
Quote: Originally Posted by big JME so what would you use for storing the db on both servers in terms of a software or settings? as currently i have 2 small computers with 1 internet conenction each so i cant link them together but could send the quary to the slave over the network to its network ip couldnt it? never ever done this before so i have no clue You...

 

Top contributing authors

Name
Posts
big JME
8
user's latest post:
Mysql database splitting over...
Published (2009-11-06 18:51:00)
ok read it.... tried it.... failed epically.... anyone want to help? lmao im using wamp and mysql 5.1.36 so alot of the stuff isnt the same and i couldnt figure it out for the life of me but im going to keep trying and if anyone knows how to set it up under wamp in the easiest possible step by step possible im no IT pro so im still learning and their tutorial on it totally killed me
sr
5
user's latest post:
Mysql database splitting over...
Published (2009-11-06 02:31:00)
Quote: Originally Posted by big JME so what would you use for storing the db on both servers in terms of a software or settings? as currently i have 2 small computers with 1 internet conenction each so i cant link them together but could send the quary to the slave over the network to its network ip couldnt it? never ever done this before so i have no clue You don't need any extra software, it's all built into MySQL. The mysqld...

Related threads on "Dev Shed Forums - Open Source web development":

Related threads on other sites:

Thread profile page for "Mysql database splitting over network drives" on http://www.devshed.com. This report page is a snippet summary view from a single thread "Mysql database splitting over network drives", located on the Message Board at http://www.devshed.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity