Total office, phpMyAdmin is a convenient and fast MySQL management tool,: http://www.phpmyadmin.net/home_page/downloads.php
Installation Configuration:
Tar-zxf phpMyAdmin-3.3.7-all-languages.tar.gzCP-RF
In actual development today, we will discuss the problem of porting a MySQL database. copy the database files in local data to test on another machine and execute show tables. The database table is displayed, but the error is returned for any
Obtain database and table information:
Mysql> connect;
Mysql> show databases;
Mysql> show tables;
Mysql> show tables from db_name;
Mysql> show columns from tbl_name;
Mysql> show index from tbl_name;
Mysql> show table status;
Mysql> show
Table 1: Numeric column type
The names and value ranges of each numeric type are shown in table 2.
Type description
Value Range
Tinyint [(m)]
Signed value:-128 to 127 (-27 to 27-1)Unsigned value: 0 to 255 (0 to 28-1)
This indicates that the connected user account does not have the permission for remote connection and can only log on to the Local Machine (localhost.
Solution:
First, log on to the MySQL server by following the steps below
To log on to MySQL,
During the maintenance of the company's CRM today, a large MySQL database was restored and the recovery failed.
Use the following method (navicat is used for MySQL management). Set the values of the following parameters and the following statements
Check the program and find that MySQL has this function!
Write a program today and discover new things ........................, Pretty good ^ _ ^, skipping a lot of effort, more than 1 GB of logs every day !!
MySQL versions later than MySQL 4.1
Yesterday, a colleague said that the efficiency of common indexes and unique indexes found in the web page query process is different. Normal indexes are faster than unique indexes,
Today, I deployed an environment in my virtual machine. The test
Before mysqlcheck is unknown, I moved the database on one server to another server and wanted to see which table was damaged. I didn't want to execute it one by one on the command line, the following is my script
#! /Bin/bashPass = "123456" #
An alarm is reported today. The alarm information is:
MYSQL_BIN_LOG::purge_logs was called with file '/home/log/mysql-bin.22.log' not listed in the index
Google one and found the MySQL source code:View code
int MYSQL_BIN_LOG::purge_logs(const char *
Some netizens asked questions about the combination of "flex-Tomcat-mysql". I have introduced some in my previous blog. See
Http://www.cnblogs.com/dannyr/articles/19503.aspx
Here, I will paste the previous figure:
Flex only processes display
Installation:
Apt-Get install-y mysql-server apache2 libapache2-mod-python Python-mysqldb Python-Django
These are not currently installed
Xfsprogs Python-imaging subversion PhP5 phpMyAdmin
You can also install it using the source code:
1. mySQL 4. full-text search is supported in Version X and later versions, but the storage engine type of the table must be MyISAM. The following table creation SQL statements are used. Note that the storage engine type is explicitly set.
CREATE
Because books are borrowed from the library, write down some learning processes for future viewing.
1. The lock mechanism is used to manage concurrent access to shared files.
InnoDB uses row-level locks.
MyISAM uses table-level locks. In the case of
1. Replication ProcessMySQL replication is an asynchronous replication, from one MySQL instace (called Master) to another MySQL instance (called slave ). The entire replication operation is completed by three processes, two of which are on slave
1. Create a database: Create Database db_name;
Database deletion: drop database db_name; When deleting a database, you can first determine whether it exists and write it as: drop database if exits db_name
2. Create a table: Create Table table_name (
Install compilation tools and cmake and bison
[Root @ dB mysql-5.5.22] # Yum install GCC gcc-C ++ ncurses-devel cmake bison
Compile and install MySQL
/Usr/sbin/groupadd MySQL
/Usr/sbin/useradd-G MySQL
CD/tmp
Tar xvf mysql-5.5.22.tar.gz
Use the show statement to find out which database exists on the server:
mysql> SHOW DATABASES; +----------+ | Database | +----------+ | mysql | | test | +----------+ 3 rows in set (0.00 sec)
2.
MySQL version: 5.0.45 phpMyAdmin version: 2.11.3
First, read the syntax for creating a stored procedure in MySQL 5.0 reference manual:
Create[Definer = {user|
If the database is slow and you want to see what MySQL is doing, you can execute this statement to list the SQL statements currently being executed by the MySQL connection.
Id userHost dB Command time state info
2599OA SVCTAG-91FFF2X: 3726
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service