Community journal

The latest from the MySQL community

Ideas, releases, practical guides, and perspectives from the people building with MySQL.

Follow the feed
Showing entries 2191 to 2200 of 15691 « Previous | Next »
53.4. String

53.4.1. LEFT/RIGHT

LEFT(str,len) mysql> select left(concat('1','0000000'),5) as number; +--------+ | number | +--------+ | 10000 | +--------+ 1 row in set (0.

【mysql】  【string】  【Mobile】   点击查看原文>

50.8. 函数

函数会返回数据,调用函数使用 select fun(),不能使用call调用,否则提示 mysql> call myfun(); ERROR 1305 (42000): PROCEDURE test.

【mysql】  【函数】  【SQL】  【Create】  【timestamp】  【Security】   点击查看原文>

50.7. 存储过程(PROCEDURE)

50.7.1. 存储程序

存储过程没有返回数据,需使用call proc()调用 CREATE DEFINER=`neo`@`%` PROCEDURE `angelfund`(IN `puid` VARCHAR(50), IN `ptime` DATETIME) LANGUAGE...

【mysql】  【SQL】  【test】  【schema】  【Create】  【存储过程】  【varchar】   …

[获取更多]
50.3. Partitioning

mysql> SHOW VARIABLES LIKE '%partition%';

+-------------------+-------+ | Variable_name | Value | +-------------------+-------+ | have_partiti...

【mysql】  【BY】  【HASH】  【Create】  【varchar】  【myisam】   点击查看原文>

Mysql Prepared statement needs to be re-prepared

这个是我自己的笔记没有阅读性。也没仔细看。但是记录下断点以后好研究。 朋友遇到这个错修改了参数| table_definition_cache | 1400 || table_open_cache | 2000 |均设置为16384就好了。

【mysql】  【SQL】   点击查看原文>

第 50 章 DDL - Data Definition Language

目录 50.1. 数据库管理(Database) 50.1.1. create 50.1.2. drop 50.1.3. Alter 50.1.4. Rename 50.1.5. CHARACTER 50.

【mysql】  【数据库】  【index】  【Create】  【database】  【timestamp】  【存储过程】  【存储】   …

[获取更多]
50.2. 表管理(Table)

50.2.1. 数据类型

50.2.1.1. SET 集合类型

SET 集合类型,此类型适合用于多项选择场景,例如保存表单中的checkbox。 CREATE TABLE `QA` ( `id` INT(10) UNSIGNED NOT NULL AUTO_INC...

【mysql】  【innodb】  【test】  【Create】  【timestamp】  【update】  【varchar】   …

[获取更多]
49.5. Backup and Recovery

49.5.1. Import / Export

49.5.1.1. Export(Backup)

mysqldump -hlocalhost -proot -p**** mydb > mydb.

【mysql】  【innodb】  【SQL】  【path】  【yum】  【xml】  【database】  【source】   …

[获取更多]
49.2. Access Privilege System

global privileges OR (database privileges AND host privileges) OR table privileges OR column privileges OR routine privileges Table 12.

【mysql】  【events】  【Server】  【grant】  【revoke】  【replication】  【Create】  【Access】   …

[获取更多]
第 49 章 Database Administration

目录 49.1. User Account Management 49.1.1. Create User 49.1.2. Drop User 49.1.3. Rename User 49.1.4. SET PASSWORD

49.

【mysql】  【数据库】  【BY】  【grant】  【Create】  【database】  【source】  【account】   …

[获取更多]