摘要:
1. Intellij Idea的Memory Monitor通过Memory Monitor,我们可以知道哪个页面哪些操作会占用比较多的内存。如果需要更详细的信息,可以导出heap,通过MAT来分析。2. MAT2.1 首先,需要导出heap,我们通过Android Device Monitor来... 阅读全文
摘要:
1. 设置Express端口号:在app.js中添加app.set('port', process.env.PORT || 3000);之后命令行中打入PORT=1234 node app.js即可(PORT也可以用export命令定义,从而使得其永久生效)2. 设置Express运行环境在命令行中... 阅读全文
摘要:
http://www.unixmen.com/setup-mariadb-master-slave-replication-in-centos-7/andhttp://www.rackspace.com/knowledge_center/article/set-up-mysql-master-sla... 阅读全文
摘要:
ExamplesCopy the file "foobar.txt" from a remote host to the local host$ scp your_username@remotehost.edu:foobar.txt /some/local/directoryCopy the fil... 阅读全文
摘要:
binlog目录权限不足导致,用chown mysql:mysql 即可解决此问题。 阅读全文
摘要:
Insystem.webAnd insystem.webServer IMPORTANT: Both of these values must match. In this case, my max upload is 1024 megabytes.maxRequest... 阅读全文
摘要:
How to support full Unicode in MySQL databasesPublished 30th July 2012· tagged withMySQL,security,UnicodeAlternative title:The things we do to store U... 阅读全文
摘要:
1. 数据库需要支持utf8mb4,如果已经创建了,那么可以用如下命令转换: alter database xxxx character set utf8mb4 collate utf8mb4_unicode_ci; alter table xxxx convert to charact... 阅读全文