Home > Database > Mysql Tutorial > mysql的系统信息函数

mysql的系统信息函数

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:27:34
Original
1441 people have browsed it

1.Version()获取数据版本 2.connection_id()获取服务器的连接数 3.database(),schema()获取当前数据库名字 4.user()获取当前系统用户 5.current_user()获取当前用户 6.charset(string)获取字符串的字符集 7.collation()获取字符串str的字符排序

1.      Version()获取数据版本

2.      connection_id()获取服务器的连接数

3.      database(),schema()获取当前数据库名字

4.      user()获取当前系统用户

5.      current_user()获取当前用户

6.      charset(string)获取字符串的字符集

7.      collation()获取字符串str的字符排序方式

8.      last_insert_id()获取最近生成的auto_increment值

 

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template