Showing posts with label Zend PHP MySql Apache. Show all posts
Showing posts with label Zend PHP MySql Apache. Show all posts

Tuesday, September 18, 2012

25 Excellent Ajax Techniques and Examples

Source: http://sixrevisions.com/ajax/ajax_techniques/
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

Source: http://blog.ijun.org/2010/02/backing-up-and-restoring-mysql-innodb.html
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

Source: http://www.ducea.com/2006/05/20/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

Source: http://www.ducea.com/2007/07/25/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

Source: http://www.ducea.com/2006/05/27/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

Source: http://www.ducea.com/2006/10/26/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?

Source: http://egil.biz/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

Nguồn: http://www.ozerov.de/bigdump
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

Là 1 admin website hay bất kì 1 ngành nào liên quan tới quản trị thì chắc hẳn công việc backup và restore tất nhiên bạn phải nắm giữ thành thục.

Tuesday, August 30, 2011

Bật tính năng truy cập từ xa của MySQL server

Source: http://cachcaidat.com/2010/08/c%E1%BA%A5u-hinh-b%E1%BA%ADt-tinh-nang-truy-c%E1%BA%ADp-t%E1%BB%AB-xa-c%E1%BB%A7a-mysql-server/

[Cấu hình] Bật tính năng truy cập từ xa  của MySQL serverMặc định tính năng truy cập từ xa bị cấm trên máy chủ cơ sở dữ liệu MySQL vì lý do bảo mật. Tuy nhiên, đôi khi bạn cần cung cấp tính năng truy cập từ xa tới máy chủ cơ sở dữ liệu từ nhà hoặc từ máy chủ web.

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

Caching is the temporary storage of frequently accessed data in higher speed media (typically SRAM or RAM) for more efficient retrieval.

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.

Router Packet Networking

Đây là video ngắn khá hay, mô tả đường đi của một gói tin trên Mạng Internet.