Tuesday, September 18, 2012
25 Excellent Ajax Techniques and Examples
Ajax allows for rich-internet applications that mimic the responsiveness and complex user interfaces typically associated with desktop applications.
Tuesday, April 3, 2012
Backing up And Restoring MySQL Innodb Database
Backing up And Restoring MySQL Innodb Database
MySQL backups are performed using the common mysqldump tool. This is a command line utility that ships with MySQL and you use at as follows:
% mysqldump --user=user --password=pass --opt DBNAME > dumpfile.sql
Backup your MySQL databases manually with mysqldump
I often need to make a quick backup of one mysql database. This happens right before there will be some major changes to the database, or before performing an upgrade on the mysql server software. Now I don’t recommend this to be done regularly, but still, I use this extensively in this kind of situations… If you are looking for an automated solution to backup your databases you might want to check my other post: “Backup your MySQL databases automatically”
Dumping MySQL Stored Procedures, Functions and Triggers
MySQL 5 has introduced some new interesting features, like stored procedures and triggers.
I will show in this small post how we can backup and restore these components using mysqldump.
Backup your MySQL databases automatically with AutoMySQLBackup
If you site relies on MySQL and stores its sensitive data in a MySQL database, you will most definitely want to backup that information so that it can be restored in case of any disaster (manual mistake to delete some data, software errors, hardware errors, server compromise, etc.). In a previous post I have presented that MySQL provides the basic tool (mysqldump) to perform database backups. This is required because backing up a database is a little different than backing up regular files.
Dumping large MySQL InnoDB tables
Backing up MySQL databases normally involves running mysqldump (either manually or from a script). If you have worked with very big mysql tables (let’s say over 10GB) you already know that dumping such a table will take a while (of course this will depend from many things like hardware, mysql configuration, etc. but still whatever you do it will still take a long time for such big tables).
How to recover MySQL data from Innodb?
Unfortunately some times you need to recover MySQL data from ibdata1. It’s many reasons why your getting corrupted Innodb files that cannot automatically be restored of the mysqld daemon.
Friday, October 14, 2011
Hướng dẫn Import big database bằng bigdump.php
http://congdongit.org/database/774-huong-dan-import-big-database-bang-bigdump-php.html
Hầu hết các web site dùng php-mysql thì đều sử dụng phpMyadmin để export database. Vấn đề là khi import trở lại. Các site hầu hết đều giới hạn dung lượng file import qua phpMyadmin là 2MB. Nếu dữ liệu lớn hơn 2MB mà dùng tools import này để import sẽ rất vất vả. Tôi xin đưa ra giả pháp để import database lớn với 3 trường hợp :
Tuesday, October 11, 2011
Hướng dẫn Backup và Restore MySQL database không bị lỗi
Tuesday, August 30, 2011
Bật tính năng truy cập từ xa của MySQL server
Mặc định tính năng truy cập từ xa bị cấm trên máy chủ cơ sở dữ liệu
Friday, June 24, 2011
Cài đặt phpMyAdmin trên CentOS
Trong các bài viết trước, mình đã trình bày cách cài đặt MySQL Server trên CentOS. Nhưng để quản lý cơ sỡ dữ liệu trên MySQL Server một cách dễ dàng hơn thì chúng ta cần phải có công cụ quản lý. Một trong những công cụ quản lý, thao tác cơ sỡ dữ liệu của MySQL được dùng khá phổ biến hiện nay là phpMyAdmin.
Cài đặt Apache và PHP trên CentOS
1. Cài đặt Apache
Dùng lệnh để tải gói và cài đặt.
Cài đặt MySQL Server trên CentOS

Trên màn hình Console nhập lệnh để cài đặt
Thursday, June 23, 2011
How to Install MySQL Database Using Yum groupinstall on CentOS

In this article, let us review how to install MySQL on CentOS using yum. Instead of searching and installing mysql and related packages one-by-one, it is better to install MySQL using yum groups.
Wednesday, June 15, 2011
Use Server Cache Control to Improve Performance
Fast, Effective PHP Compression
PHP compression is an excellent method of conserving bandwidth and reducing client download times. We have already discussed an excellent method for CSS compression, and in this article we share a super-easy technique for compressing all PHP content without editing a single file.
Các cách đánh index cho trường trong CSDL MySQL
Một ngày kia bạn nhận ra rằng website của bạn chạy chậm đi, có thể là do đường truyền nhưng còn 1 nguyên nhân khác, đó là máy chủ server tính toán quá nhiều dẫn đến kết quả đưa ra.
Wednesday, January 5, 2011
Saturday, August 7, 2010
Reset password của root - MySQL trên Windows - Linux
cách đổi rất đơn giản