1.登陆MySQL数据库. mysql -uroot -pdadong123 2.查看当前登录的用户. select user(); select user from mysql.user; 3.创建数据库dadong,并查看已建库完整语句. create database dadong1; show create database dadong1; 4.创建用户dadong,使之可以管理数据库dadong. grant all on *.* he@'localhost' identified…
创建用户和组 # groupadd mysql # useradd -r -g mysql mysql 解压压缩包 # tar -xvf mysql-5.6.37-linux-glibc2.12-x86_64.tar.gz # mv mysql-5.6.37-linux-glibc2.12-x86_64 /usr/local # cd /usr/local/ # ln -s mysql-5.6.37-linux-glibc2.12-x86_64/ mysql # cd mysql # ll to…
Optimal Milking Time Limit: 2000MS Memory Limit: 30000K Total Submissions: 15682 Accepted: 5597 Case Time Limit: 1000MS Description FJ has moved his K (1 <= K <= 30) milking machines out into the cow pastures among the C (1 <= C <= 200) co…
hadoop面试题 Q1. Name the most common InputFormats defined in Hadoop? Which one is default ? Following 2 are most common InputFormats defined in Hadoop - TextInputFormat - KeyValueInputFormat - SequenceFileInputFormat Q2. What is the difference between …
题目: Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the value (will always be positive) of the key if the key exists in the cache, otherwise return -1.…