MySQL password change, common commands

MySQL password change Check whether MySQL service is started. If not, use / etc/init.d/mysqld start [root@test-a ~]# ps aux | grep mysql root 2180 0.0 0.1 115432 1724 ? S 07:33 0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/data/mysql --pid-file=/usr/local/mysql/mysqld.pid mysql 2390 0.9 17.8 1117648 180356 ? ...

Posted by rcarr on Mon, 02 Dec 2019 20:22:12 -0800

Date formatter method

1. Date format tool method 1.1. code public class DateUtil { public enum DateType{ /** * Mm / DD / yyyy HHM / S */ YMDHMS("yyyy-MM-dd HH:mm:ss"), /** * Mm / DD / yyyy hrs / min */ YMDHM("yyyy-MM-dd HH:mm"), /** * Specific date */ YMD("yyyy- ...

Posted by sysop on Mon, 02 Dec 2019 19:05:41 -0800

Notes on Centos6.5 installing MySQL 5.6

CentOS Six.Five install MySQL 5.6 1. View system status [root@itzhouq Three 2 tools]# cat /etc/issue CentOS release 6.5 (Final) Kernel \r on an \m [root@itzhouq32 tools]# uname -a Linux itzhouq32 2.6.32-Four 31.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux 2. Create a directory to download rpm package [root@itz ...

Posted by lyealain on Mon, 02 Dec 2019 14:05:54 -0800

onos2.0 compilation and installation

onos compilation and installation 1 pre download and installation 1.1 front package installation sudo apt-get install git sudo apt-get install python #Oracle JDK8 sudo apt-get install software-properties-common -y && \ sudo add-apt-repository ppa:webupd8team/java -y && \ sudo apt-get update && ...

Posted by myitanalyst on Sat, 30 Nov 2019 10:42:34 -0800

Java opens gc log

Build a jar package Using Spring Boot to build a simple web program, you can start it directly using java jar. @RestController @RequestMapping("/root") @SpringBootApplication public class SbDemoApplication { public static void main(String[] args) { SpringApplication.run(SbDemoApplication.class, args); } @RequestMapping("/h ...

Posted by alexboyer on Sat, 30 Nov 2019 01:55:40 -0800

oracle learning notes DCL data control language and DDL data definition language

DCL Data control language Statement of authorization and right to receive as mentioned before grant, revoke Data definition language create alter,drop statement, create table, modify table, delete Create table create table $tablename$( id int, name,varchar(5) --Maximum length required to declare money,number(6,2) --9999.00 ) -- Cop ...

Posted by ashell on Mon, 25 Nov 2019 11:28:05 -0800

Thinking about GC mechanism caused by BUG in a JDK thread pool

Problem description A few days ago, I was helping my colleagues to troubleshoot the occasional thread pool errors on the production line The logic is simple, and the thread pool performs an asynchronous task with results. However, there have been occasional errors recently: java.util.concurrent.RejectedExecutionException: Task java.util.concurr ...

Posted by shreej21 on Mon, 25 Nov 2019 01:10:44 -0800

Index and view details of Mysql database

Index and view details of Mysql database The concept of index The index of a database is similar to that of a BookIn a book, you can quickly find the required information by using the catalog without reading the whole bookThe table of contents in the book is a list of words with page numbers containing each wordDatabase indexIn the database, ...

Posted by dyconsulting on Sun, 24 Nov 2019 07:02:30 -0800

Record a series of errors after modifying the size of sga

Record a series of errors after modifying the size of sga once After modifying the sga size of oracle, we encountered a series of errors. 00844 and 00851 error reporting SQL> startup; ORA-00844: Parameter not taking MEMORY_TARGET into account ORA-00851: SGA_MAX_SIZE 2147483648 cannot be set to more than MEM SQL> 01078 error reporting SQ ...

Posted by Manat on Fri, 22 Nov 2019 10:52:06 -0800

Database Introduction and MySQL Version 5.7 Compile Installation (Actual!)

Basic concepts of databases Data: Symbolic records describing things are called data. Include numbers, text, graphics, images, sounds, file records, etc. Store in a uniform format as a "record". Table: A table is formed by grouping different records together Is used to store specific data Database: A database is a collection of ...

Posted by fri3ndly on Thu, 21 Nov 2019 18:20:54 -0800