Rsync Mysql Database

May 19, 2009

how can i setup rsync to backup just mysql database (if possible) every 6 hours or so.

View 14 Replies


ADVERTISEMENT

Rsync Mysql Every Hour Or 2?

Jul 21, 2008

How would I go about backing up MySQL databases every hour or 2?

I think I read somewhere you shouldn't do a direct rsync as the tables would not be locked or something like that.

View 10 Replies View Related

Big Mysql Database 4gb

May 11, 2008

i been trying to move my server.. But mysql database is quite big and restoring takes ages 10 12 hours.. is there anyway i can make it quick because database dump takes 10 15mins but restore takes 12hours and it should be a way to make that quick

View 14 Replies View Related

Rebuilding MySQL Database

Apr 24, 2009

I have are the .frm, .MYD, .MYI how do I restore/rebuild the database?

View 3 Replies View Related

Reloading A Mysql Database

Jul 13, 2009

My server admin linked me to this:

[url]

I'm using a cpanel based server, but I can't get this to work.

It requires I be in a directory I figure (this step isnt included)

so I type cd /home/username/public_html/

And then i follow the commands. but it doesnt work.

Basically i need to take a mysql database that I uploaded to my directory, and load it back into a database. :@

View 9 Replies View Related

Get Mysql Database From Shell

Apr 14, 2007

I have a problem getting mysql to start, so I am planning to setup a new server and move all the mysql databases to a new server.

The problem is I normally get mysql databases when mysql is running by using mysql command lines. Now that I cannot start mysql, I cannot use that method.

Is there a mysql directory that contains all the mysql databases for me to tar it up and untar it on a different? If there is a directory that contains all the mysql databases, do I need to exclude some files/folders so it doesnt conflict with the files/folders on my new mysql server?

View 3 Replies View Related

Repait All Database In Mysql

Jul 29, 2007

we have whm in my server

in whm is one part to name

Repair Mysql Database

this is only for one database

how may i repaired all database in my server?

View 8 Replies View Related

How To Protect Mysql Database

Jan 22, 2008

what steps procedures need to be done to keep your database as safe as possible from the hackers. Anyway to be alert when someone got into your db and try to dump, alter your database?

View 4 Replies View Related

MySQL Cannot Connect To Database Via PHP

Dec 1, 2007

I got this weird problem with my VPS which has MySQL 4.1.22 running on it. Everything works fine for sometime and then out of a sudden, it stop recognizing the mysql users and refused to allow my PHP scripts to access the database.

It seems that I needed to restart mySQL server to resolve the issue. Then out of the blues, the same problem occurs.

I am running Cpanel on a VPS and there isn't any overloading as the database access is pretty light on my 512mb VPS.

I contacted my web host about the issue and it seems like all they do is to restart the mySQL. This cannot be a solution as it happens at least once or twice a day depending on how soon I could catch the problem.

All the time this problem occurs, the MYSQL Server is still active and working. I can even access it through PHPMyAdmin but not through the scripts.

I just added an hourly crontab so as to restart the MySQL server as a stop gap.

View 7 Replies View Related

Backup BIG MySQL Database

Nov 29, 2007

What is the recommended method of backing up big MySQL database of size 2 GB ?

Quote:

# mysqldump gallery > gallery.sql
mysqldump: Got error: 1017: Can't find file: './gallery/10tir_user_group.frm' (errno: 24) when using LOCK TABLES
#

I checked the table, it is fine, but can't do the backup.

Quote:

mysql> check table 10tir_user_group;
+-------------------------+-------+----------+----------+
| Table | Op | Msg_type | Msg_text |
+-------------------------+-------+----------+----------+
| gallery.10tir_user_group | check | status | OK |
+-------------------------+-------+----------+----------+
1 row in set (0.07 sec)

mysql>

View 13 Replies View Related

MySQL With Huge Database

Nov 26, 2007

ways to improve the database performance in the situation when I have to modify a large table (several million rows), by e.g. adding a column. Currently this would take several hours which is too slow. The bottleneck is disk I/O. I am considering either partitioning the table over several innodb files on several disks, or going to a RAID-5 or RAID-10, it this will give me better write performance.

The database is 130GB large, and the problem table (which I make period changes to) is the largest table on the server. I cannot have downtime of 3 hours each time I make a change and adding blank fields (to be used later, when a new field is needed) is not an option.

Each time I add a column, the cpu goes into high (80%) io wait state for about 3 hours.

I have a hack which would allow me to split the large table into multiple smaller tables based on some criteria (for example, forumID or such). Here are a couple of things but would like to know which is best, and am open to new ideas. The ideas so far:

1. Split the table into 3 or 5 smaller tables each on it's own disk. The disk IO would then not be so bad, and it might only take 1 hour to perform the table change. But this might not work because the changes to the database (as in adding a column) might be serial, meaning only 1 disk is being written to at a time. (Then again, maybe it will work if I launch 3 different scripts, one to update each table at once).

2. Do RAID 5 or 10, and have 3 or 5 disks. This again might not help at all because of the above issue with MySQL writing serially.

I am using latest MySQL 5.0.45 with InnoDB engine on Debian etch Linux

View 4 Replies View Related

Best Server For Mysql Database

Jul 18, 2007

Which do you recommend for mysql databases alone? around 200 - 300 connections anytime

I have heard that mySQL alone can be better on 64bit environment. How about the hardware?

View 14 Replies View Related

MySQL Database Server In Webmin

Nov 4, 2009

I forgot the Password for the MySQL Database Server , How to recover it or change it without Known the old one ..

i have access to the SSH and webmin..

View 7 Replies View Related

Optimize All Tables In A MySQL Database

Oct 29, 2008

how exactly it helps?

mysqlcheck -o -u...

Like what it does to "optimize" them? Does it really help?

View 7 Replies View Related

How To Secure Access To MySQL Database

Jan 28, 2008

What can I do to secure access to my MySQL database to stop it from getting compromised from hackers?

Is there any way I can restrict access to the MySQL database to my IP only?

The database is for an IPB 2.3.4 forum and the username/password are stored in a conf_global.php file that is CHMODed 0444.

View 5 Replies View Related

Move My Mysql Database To Another Server

Apr 21, 2008

Is it possible to move my mysql database to another server?

View 9 Replies View Related

Which Host For Website With MySQL Database

Apr 19, 2008

have just had a website created for me where I can store my photos on. It uses JSP + MySQL for the databse which stores the photo IDs, photo location etc. I want to get it up and running on the net but have no idea how to do this!

View 14 Replies View Related

How To Reset Mysql Database Password

Apr 30, 2008

i just wanna reset my wordpress database password

View 6 Replies View Related

Managed Database Hosting (Mysql)

Apr 11, 2008

if there are any recommendations on managed database hosting services. This will be used for a fairly large project running on Mysql DB. Due to the size and complexity of the database a lot of resources are being used, so I prefer to find a company which specializes in dB hosting.

View 8 Replies View Related

Mysql Command To Make A New Database

Feb 22, 2008

what is SSH command - to make a new database with database name as ( ra_ra ) with database user as ( ra_ra ) and database password as 'ra'

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved