type
status
date
slug
summary
tags
category
icon
password
Property
Mar 31, 2024 04:12 PM
notion image

mysql 的安装信息

C:\Users\kitety>mysqld --initialize --console 2021-12-31T13:48:46.173370Z 0 [System] [MY-013169] [Server] D:\fav\mysql-8.0.27-winx64\bin\mysqld.exe (mysqld 8.0.27) initializing of server in progress as process 8884 2021-12-31T13:48:46.352720Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2021-12-31T13:48:52.446815Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2021-12-31T13:49:10.994404Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main 2021-12-31T13:49:10.994556Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main 2021-12-31T13:49:11.166673Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: CktOrXq9ru&w
输入net start mysql或sc start mysql
启动mysql服务
 
 
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';
 
notion image
notion image
notion image
notion image
nest generate controller messages/messages --flat 不会产生新的文件夹
notion image
notion image
notion image
notion image
notion image
notion image
notion image
执行的时候都会变为js,那么类型就不存在了。那这是怎么做到的呢?
所以并不是所有的ts都不会被编译到js里面
notion image
 
notion image
notion image
notion image
notion image
notion image
 
notion image
notion image
后面发现需要的话就会重用实例
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
 
database
notion image
notion image
notion image
notion image
notion image
notion image
 
user resource
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
 
save和remove就是为instance设计的
更新的逻辑,效率有点低
notion image
 
notion image
 
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
大项目
notion image
小项目
notion image
 
 
以后的发展
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
因此需要创建拦截器
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
e2e测试跳过了main.ts file
换成下面的这种
notion image
以便让e2e运行pipe和cookie-session
notion image
notion image
多数据库
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
需要注意并行运行e2e测试,并行访问sqlite文件会报错,因此改为串行--maxWorkers=1
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
onetomany 数据库没有改变,Manytone,数据库有改变
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
验证和授权
notion image
notion image
需要转换为middleware
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
typeorm cli中不能获取到connection options
notion image
  • 没有能力读取json、yml格式的文件
  • 不应该用ts,因为直接运行的是js,其实现在已经可以了
  • 不能利用环境变量来设置类型
notion image
notion image
notion image
测试的时候使用这个执行的,会报错
notion image
notion image
dev—js
test—ts
notion image
notion image
notion image
notion image
npm install -g ts-node
To create a new empty migration use "typeorm migration:create" command
 
notion image
notion image
 
 
heroku addons: create heroku-postgresql:hobby-dev
Creating heroku-postgresql:hobby-dev on ⬢ secure-garden-44648... free Database has been created and is available ! This database is empty. If upgrading, you can transfer ! data from another database with pg:copy Created postgresql-flat-19586 as DATABASE_URL Use heroku addons:docs heroku-postgresql to view documentation
heroku config:set COOKIE_KEY=1k23412k3j4
heroku config:set NODE_ENV=production
git push heroku master
 
Mysql 学习笔记RXJS入门分享之Observable、Operators
  • Waline
Kitety
Kitety
独特为佳
公告
我曾经七次鄙视自己的灵魂
--卡里·纪伯伦
第一次,当它本可进取时,却故作谦卑;
第二次,当它在空虚时,用爱欲来填充;
第三次,在困难和容易之间,它选择了容易;
第四次,它犯了错,却借由别人也会犯错来宽慰自己;
第五次,它自由软弱,却把它认为是生命的坚韧;
第六次,当它鄙夷一张丑恶的嘴脸时,却不知那正是自己面具中的一副;
第七次,它侧身于生活的污泥中,虽不甘心,却又畏首畏尾。
 
最新评论
Loading...