2015-01-09 Robin Wen
文/Robin 本站推广 币安是全球领先的数字货币交易平台,提供比特币、以太坊、BNB 以及 USDT 交易。 币安注册: https://accounts.binancezh.pro/cn/register/?ref=11190872 邀请码: 11190872 环境: Linux:RHEL 6.1 MySQL:5.5 登录到MySQL。 bash mysql -uroot -proot 创建测试表: ``` bash mysql> USE test; Database changed mysql> CREATE TABLE data_type(cola smallint unsigned) DEFAULT CH 继续阅读 »
2016-07-19 ruki
xmake will automatically detect the system environment and create the most appropriate configuration to compile project when building a program Usually we only need to run: bash $ xmake And it will not re-generate configuration if the project description has not changed. But we can also modify configuration manual 继续阅读 »
2018-04-09 Vaniot
创建用户并设置密码: mysql create user test IDENTIFIED BY '1234546'; 为新用户分配权限: mysql //为该用户分配所有的权限 GRANT ALL PRIVILEGES ON *.* TO 'test'@'localhost' IDENTIFIED BY '123456'; //查看当前用户的权限 SHOW GRANTS; //撤销上一次的授权 REVOKE ALL PRIVILEGES ON *.* FROM 'test'@'localhost' / 继续阅读 »
2016-10-16 Meng Lei
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick Start Create a new post bash $ hexo new "My New Post" More info: Writing Run server bash $ hexo server More in 继续阅读 »
2016-08-06 ruki
xmake不仅可以支持 c/c++文件,同时也支持 objc/c++,甚至swift代码的编译。 我们先看一下如何创建Swift工程,首先执行--help,看下帮助文档: bash xmake create --help 继续阅读 »
2018-03-13 Vaniot
1.编码 1.查看数据库编码 show variables like 'char%'; 修改编码格式: mysql set character_set_database = utf8; set character_set_server = utf8; more 2.查看建库语句 mysql show create database your_database_name; 更改编码: alter database `file` default character set utf8 collate utf8_general_ci; 在mysql中反引号 `` 用于用于用户自定义的量,而单引号'' 用于系统变量 3.修改 继续阅读 »
2016-04-15 Eric Wang
**对代码不满足,是任何真正有天才的程序员的根本特征。** Value '0000-00-00' can not be represented as java.sql.Timestamp 在查询MySql数据库某表的timestamp列的时候,发现此异常,问题来源表述如下 1. 先创建一个测试表 sql create table test.mytest( id int PRIMARY KEY AUTO_INCREMENT , createtime timestamp not null default current_timestamp , --创建时间 updatetime timestamp not null , --更新时 继续阅读 »
2016-09-29 Borg
数据库 sql create database [IF NOT EXISTS] USE ALTER DATABASE [数据库名] {[DEFAULT] CHARACTER SET | [DEFAULT] COLLATE } DROP DATABASE [IF EXISTS] SHOW DATABASES [LIKE ] 继续阅读 »
2016-04-15 Eric Wang
**对代码不满足,是任何真正有天才的程序员的根本特征。** Value '0000-00-00' can not be represented as java.sql.Timestamp 在查询MySql数据库某表的timestamp列的时候,发现此异常,问题来源表述如下 1. 先创建一个测试表 sql create table test.mytest( id int PRIMARY KEY AUTO_INCREMENT , createtime timestamp not null default current_timestamp , --创建时间 updatetime timestamp not null , --更新时 继续阅读 »
2015-06-25 王财勇
Godaddy是全球第一大域名主机上,其域名地位在世界上是无人可比的,但是由于godaddy没有中文站点,所以很多用户不知道如何注册godaddy的域名。今天小编就向大家展示一下godaddy域名注册的全部教程。以下为本人在windows 7下亲测可用。 more 第一步 注册账户 1.登录官方网站:https://www.godaddy.com/ 在左上角选择United States-English,如下图 然后开始注册账户,点击右上角Sign In,就会出现 点击后面的"Create MY ACCOUNT"按钮注册新账户。 2.填写注册信息 新版本填写资料很简单,只需要填写邮箱、用户名、密码和四位数的PI 继续阅读 »