phpMyAdmin

linux下安装7z命令及7z命令的使用

和自甴很熟 提交于 2020-07-28 18:48:43
本文主要介绍了在linux下安装7z命令的方法,同时介绍了7z命令的使用。7z压缩格式拥有众多优点,具有极高的压缩比率,如果你还不了解,请看文章: 7z格式、LZMA压缩算法和7-Zip详细介绍 。 reille 使用的linux发行版是ubuntu,同时在Redhat上业已验证,可正常使用。 1. linux安装7z命令 linux上安装7z命令有两种方式:在线安装和安装包安装,下面分别介绍。 1.1 在线安装 如果你的宿主机Linux可以连接外网,推荐用这种方式,方便简单,执行命令: sudo apt-get install p7zip 即可在线安装7z命令。 1.2 安装包安装 7z(准确点说是7-Zip)提供了线下的程序安装包,也可自己编译安装。这里讲的是用7z提供的bin包来安装。 宿主机linux一般是X86的,而7z提供编译好了的bin包,可以很方便的安装。步骤如下: 1) 去网站 http://sourceforge.net/projects/p7zip/files/ 或 http://sourceforge.net/projects/p7zip/files/p7zip/ 上下载p7zip的包,当前最新版本是9.20.1; 2) 找到对应版本号进去,页面会提供两个供你下载,一个是bin包,另一个是源码包,这里下的是bin包,以9.20.1为例,下载的包名称是

常用的 7 款 MySQL 客户端工具,你值得拥有!

狂风中的少年 提交于 2020-07-27 08:32:48
来源:KK·Liu先生 https://blog.csdn.net/qq_40087415/article/details/78389785 MySQL的管理维护工具非常多,除了系统自带的命令行管理工具之外,还有许多其他的图形化管理工具,这里我介绍几个经常使用的MySQL图形化管理工具,供大家参考。 1、phpMyAdmin http://www.phpmyadmin.net/ phpMyAdmin是最常用的 MySQL 维护工具,是一个用PHP开发的基于Web方式架构在网站主机上的 MySQL 管理工具,支持中文,管理数据库非常方便。不足之处在于对大数据库的备份和恢复不方便。 2、MySQLDumper http://www.mysqldumper.de/en/ MySQLDumper使用PHP开发的MySQL数据库备份恢复程序,解决了使用PHP进行大数据库备份和恢复的问题,数百兆的数据库都可以方便的备份恢复,不用担心网速太慢导致中间中断的问题,非常方便易用。 这个软件是德国人开发的,还没有中文语言包。 3、Navicat http://www.navicat.com/ Navicat是一个桌面版 MySQL 数据库管理和开发工具。和微软SQLServer的管理器很像,易学易用。 Navicat使用图形化的用户界面,可以让用户使用和管理更为轻松。支持中文,有免费版本提供。 4

mysql数据库的基础(一)

与世无争的帅哥 提交于 2020-07-27 02:53:56
数据库 数据库是数据管理的软件,有mysql,sqlite,orancle等,我们使用mysql。 https://www.liaoxuefeng.com/wiki/1177760294764384 mysql数据库的概念 mysql数据库分为数据库的存储系统和数据库的关系系统,有存储数据和管理数据的功能。他是用一种c/s架构的软件 linux下mysql数据库的安装 可以使用rpm安装 也可以使用源码安装 也可以使用一键安装包 https://blog.51cto.com/5493817/2491722 我们可以通过mysql的客户端操作我们的数据比如: mysql命令 mysql -h主机 -u用户名称 -p密码 navcate 一个图形化的工具。 phpmyadmin。使用php写的一个软件。 DML :数据库管理语言(管理数据) DDL :数据库定义语言(建表建库,触发器) DCL :数据库控制语言 (权限管理,创建管理用户) mysql的库操作 新建数据库 create database 库名 查看数据库 看有那些数据库 show databases;整型 show create database 库名 进入数据库 use 名称 删除数据库 drop database 库名 mysql的表操作 查看表 查看有那些表 show tables; 查看表的详细信息 desc

Docker MYSQL '[2006] MySQL server has gone away'

六眼飞鱼酱① 提交于 2020-07-10 06:13:21
问题 i have a little problem with mysql server. i created my docker-compose.yml, but when i want to access to phpMyAdmin (localhost:8080), an error message appeared sais that: "phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. Please check the values ​​of host, username and password in the configuration and make sure they match the information provided by the MySQL server administrator". Here is my docker-compose file and thanks for helping me version: '2'

MySQL error in timestamp

本小妞迷上赌 提交于 2020-06-29 10:16:25
问题 I am creating a database for my application. I get this error: MySQL said: Documentation 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(14) NOT NULL, PRIMARY KEY (UserID))' at line 4 . This is my sql statement: CREATE TABLE sitheloChat_Users ( UserID int(10) unsigned NOT NULL auto_increment, Username varchar(15) NOT NULL default '', PreviousUpdate timestamp(14) NOT NULL, PRIMARY KEY (UserID) );

Is it possible to get last update time of the row in sql

偶尔善良 提交于 2020-06-25 18:08:58
问题 Is it possible to get last updated time and date of the row using MYSQL server. 回答1: Well there is no inbuild feature exists with MySQL. Though you can get the same effect by adding a timestamp column: ALTER TABLE NAMEYOURTABLE ADD COLUMN last_update TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP using above to create timestamp with name last_update column will make it pretty much automatically managed and updated. Now you can select from NAMEYOURTABLE the last updated row

Is it possible to get last update time of the row in sql

余生长醉 提交于 2020-06-25 18:07:49
问题 Is it possible to get last updated time and date of the row using MYSQL server. 回答1: Well there is no inbuild feature exists with MySQL. Though you can get the same effect by adding a timestamp column: ALTER TABLE NAMEYOURTABLE ADD COLUMN last_update TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP using above to create timestamp with name last_update column will make it pretty much automatically managed and updated. Now you can select from NAMEYOURTABLE the last updated row

MYSQL - Warning: #1681 Integer display width is deprecated

巧了我就是萌 提交于 2020-06-25 09:17:52
问题 I'm getting this warning when importing mysql dumps in phpMyAdmin: Warning: #1681 Integer display width is deprecated and will be removed in a future release. I found this on https://dev.mysql.com/worklog/task/?id=13127 Deprecate the ZEROFILL attribute for numeric data types and the display width attribute for integer types. but i don't really understand what it means. Can someone explain what is the problem generating this warning, and how to resolve it. 回答1: Check this Numeric Type

Generate CSV based on MySQL query from phpMyAdmin

你离开我真会死。 提交于 2020-06-24 11:05:19
问题 Can I generate a CSV file from phpMyAdmin based on a MySQL query? For example, let's say I queried a table to return results for the word "image". Could I then produce a CSV with all of the records containing the word "image"? 回答1: In PhpMyAdmin, go into the SQL tab and enter your query in there. Hit go, then click Export at the bottom of your results. You can select to export as a CSV. In case you're interested, here's how to do it via SQL without PMA: How to output MySQL query results in

Generate CSV based on MySQL query from phpMyAdmin

痞子三分冷 提交于 2020-06-24 11:05:13
问题 Can I generate a CSV file from phpMyAdmin based on a MySQL query? For example, let's say I queried a table to return results for the word "image". Could I then produce a CSV with all of the records containing the word "image"? 回答1: In PhpMyAdmin, go into the SQL tab and enter your query in there. Hit go, then click Export at the bottom of your results. You can select to export as a CSV. In case you're interested, here's how to do it via SQL without PMA: How to output MySQL query results in