This article mainly introduces four methods for viewing the mysql version in Linux, this article describes four methods, including using mysql-V in the terminal, using mysqlstatus, searching in help, and using mysql functions. For more information,
Some errors occurred during the project due to the database version.After the data is restored, the table structure cannot be displayed.After the mysql server is upgraded and the database data is restored, the structure of the desc table using
Shell resets the password for the new MySQL versionAfter the old version of MySQL is installed successfully, the root account has no password, which is convenient but insecure. From version 5.6.8 (the latest version is 5.6.20), a random temporary
I tried to build a simple LAMP environment, but I found that there are so many problems. (By default7 # zbphp.com)
In many cases, the prompt for installing Mysql is via yum one-click installation. The shell command is as follows:
yum install
Run the following command to view the MySQL version:
[Root@bkjia.com] # mysql-V
Display: mysql Ver 14.14 Distrib 5.5.7-rc, for Linux (x86_64) using readline 5.1
Check if there are any mysql commands in rpm:
[Root@bkjia.com] # rpm-qa | grep-I
1: Under the terminal: Mysql-v. Here is the code snippet:[Email protected] ~]$ mysql-vMySQL Ver 14.7 distrib 4.1.10a, for Redhat-linux-gnu (i686)2::mysql> status in MySQL;Here is the code snippet:mysql> status;--------------MySQL Ver 14.7 distrib 4.1
Encountered some errors in the project process that occurred because of a database version reason
MySQL server Upgrade Data restore table structure cannot be displayed
After the MySQL server upgrade, after the database data is restored, the DESC
Problem:Error log reported as error when importing mysqldump exported database2018-09-03t01:49:15.741378z 6 [ERROR] innodb:column table_name in table ' MySQL '. ' Innodb_table_stats ' was VARCHAR (597) not Null but should is VARCHAR (192) not NULL
--Using the test library ' test_project_management ' oel_project_management ' use test;--the old table drop table old_column_info; CREATE TABLE ' old_column_info ' (' ID ' INT (one) not null auto_increment, ' Table_schema ' VARCHAR (UP) ' NOT null
Prepare the article
1. Configure the firewall to turn on 80 ports, 3306 ports1 vim /etc/sysconfig/iptables2 -J ACCEPT #允许80端口通过防火墙 3 3306 -j ACCEPT #允许3306端口通过防火墙Service iptables Restart #重启防火墙 to make configuration effective2. Turn off
Error message:[ERR] 1055-expression #1 of ORDER by clause are not in GROUP by clause and contains nonaggregated column ' Information_sch Ema. PROFILING. SEQ ' which is not functionally dependent on columns in GROUP by clause; This was incompatible
The following error occurred while installing the MySQL service:The version to be installed is 5.1.45and previously installed with the 5.0.22 version, and therefore appears:MySQL Conflicts withmysql-5.0.22-2.1.0.1.i386Mysql-server conflicts with
Four ways to view MySQL version1: Under the terminal: Mysql-v. Here is the code snippet:[Email protected] ~]$ mysql-vMySQL Ver 14.7 distrib 4.1.10a, for Redhat-linux-gnu (i686)2::mysql> status in MySQL;Here is the code snippet:mysql> status;---------
/*****************************************************mysql 5.6.19 upgrade to 5.6.21************************************ /Pre-upgrade is required!----1. View the existing version of MySQL data directory location show variables like '%datadir% ';/usr/
1: Under the terminal:mysql-v. Here is the code snippet:$ mysql-vMySQL Ver 14.7 distrib 4.1.10a, for Redhat-linux-gnu (i686)2: In MySQL:mysql> status;Here is the code snippet:mysql> status;--------------MySQL Ver 14.7 distrib 4.1.10a, for
First, using the command line mode to enter MySQL will see the first prompt, second, the command line using status can be seen; third, use system functions and so on, view version information#1使用命令行模式进入mysql会看到最开始的提示符 Your MySQL Connection ID is
Description of problems caused by mysql version upgrade: 1. java code of the mysql statement in ibatis SELECT d. qid, GROUP_CONCAT (epq. qid) qids FROM table1 d, table2 epq WHERE d. qid = # qid # AND d. pid = epq. pid group by d. checkPid LIMIT 1 2
I tried to build a simple LAMP environment, but I found that there are so many problems. (By default7 # zbphp.com)
In many cases, the prompt for installing Mysql is via yum one-click installation. The shell command is as follows:
yum install
I have not used Mysql for a long time. Yesterday, my friend had no problem with running a small project on my machine, but reported an internal server error (500) on his machine ), using QQ for Remote Assistance (too slow), it took me half a day to
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.