Rebuilding MySQL Database
Apr 24, 2009I have are the .frm, .MYD, .MYI how do I restore/rebuild the database?
View 3 RepliesI have are the .frm, .MYD, .MYI how do I restore/rebuild the database?
View 3 Repliesif i rebuild apache through easyapache, does httpd.conf reset to default?
View 5 Replies View RelatedThis topin i creat it to found some of Security Tips about Support Center in any webhosting or Webserver for VPS ; Detecated Servers ..
some of my webserver had been hacked via the support Center ..
the attacker had some Exploite Script to logged in some users who work in the support Center
and then Going to Rebuild the Os For my Srv ; Detecated Server ..
or Manage my DNS Templates ..
This two ways the attacker can hacked the Servers via them ...
so this is my messege to all the Security Researching and Plp who work / own companies for Webserver ..
Today I noticed that my server becames unavailable.
I made remote reboot, and server did not back. I asked my host to connect remote console to this server. After that I get information, that fsck failed to complete and I need to run it manually.
I put my root password and then noticed that RAID-1 array is rebuilding.
Do I have to wait untill RAID-1 (HARDWARE) array completes rebuild and then run
fsck -r /dev/sda1
?
or I should stop rebuilding process and run fsck now?
Anyone knows the CLI command for rebuilding a mirror raid for Adaptec 2410?
View 1 Replies View Relatedi 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 Relatedhow can i setup rsync to backup just mysql database (if possible) every 6 hours or so.
View 14 Replies View RelatedMy 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. :@
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?
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?
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 RelatedI 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.
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>
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
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?
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..
how exactly it helps?
mysqlcheck -o -u...
Like what it does to "optimize" them? Does it really help?
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.