1.单实例情况现将数据库停掉/etc/init.d/mysqldstop使用如下命令启动数据库mysqld_safe--skip-grant-tables--user=mysql&现在可以使用mysql命令登陆了mysql-uroot然后就可以改密码了updatemysql.usersetpassword=password("password")whereuser=‘root‘andhost=‘localhost‘;..
分类:
数据库 时间:
2015-05-23 06:37:52
阅读次数:
211
1.单实例情况现将数据库停掉/etc/init.d/mysqldstop使用如下命令启动数据库mysqld_safe--skip-grant-tables--user=mysql&现在可以使用mysql命令登陆了mysql-uroot然后就可以改密码了updatemysql.usersetpassword=password("password")whereuser=‘root‘andhost=‘localhost‘;..
分类:
数据库 时间:
2015-05-23 06:37:42
阅读次数:
181
1.单实例情况现将数据库停掉/etc/init.d/mysqldstop使用如下命令启动数据库mysqld_safe--skip-grant-tables--user=mysql&现在可以使用mysql命令登陆了mysql-uroot然后就可以改密码了updatemysql.usersetpassword=password("password")whereuser=‘root‘andhost=‘localhost‘;..
分类:
数据库 时间:
2015-05-23 06:36:31
阅读次数:
190
# Write your MySQL query statement belowSELECT p.FirstName, p.LastName, a.City, a.State FROM Person AS pLEFT JOIN Address AS a ON p.PersonId = a.Perso...
分类:
数据库 时间:
2015-05-22 01:55:02
阅读次数:
143
show databases;查看所有数据库create database 库名; 创建数据库use 库名; 进入数据库show tables; 查看数据库所有表describe 表名;查看表结构drop database 库名;删除数据库drop table表名 ;删除表/////////////...
分类:
数据库 时间:
2015-05-20 23:41:22
阅读次数:
239
Hive Tables 将HIVE_HOME/conf/hive-site.xml?文件copy到SPARK_HOME/conf/下 ?When not configured by the hive-site.xml, the context automatically creates?metastore_db?and?warehouse?in the current ...
分类:
数据库 时间:
2015-05-20 16:34:51
阅读次数:
289
Hive Tables
将HIVE_HOME/conf/hive-site.xml 文件copy到SPARK_HOME/conf/下
When not configured by the hive-site.xml, the context automatically creates metastore_db and warehouse in
the current direct...
分类:
数据库 时间:
2015-05-19 19:07:19
阅读次数:
217
1.默认基本配置 [mysqld]
#character_set_server=utf8
datadir=D:/Program?Files/MariaDB?10.0/data
port=3306
sql_mode="STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION"
default_storage_engine=innodb
innodb_...
分类:
数据库 时间:
2015-05-19 17:01:04
阅读次数:
160
How Many Tables
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 17049 Accepted Submission(s): 8349
Problem Description
Today is Igna...
分类:
其他好文 时间:
2015-05-18 09:13:15
阅读次数:
132
1、limits of joins
The maximum number of tables that can be referenced in a single join is 61. This also applies to the number of tables that can be referenced in
the definition of a view.
2、表最多可以有...
分类:
数据库 时间:
2015-05-17 16:50:58
阅读次数:
176