当前位置:网站首页>Mysql, sqlserver Oracle database connection mode
Mysql, sqlserver Oracle database connection mode
2022-07-07 19:42:00 【Aimin20210819】
Programming connection mode
sql server The default port number is :1433
URL:"jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=dbname"
DRIVERNAME:"com.microsoft.jdbc.sqlserver.SQLServerDriver";
mysql The default port number is :3306
URL:jdbc:mysql://localhost:3306/test? user=root&password=&useUnicode=true&characterEncoding=gbk
DRIVERNAME:"com.mysql.jdbc.Driver";
oracle The default port number is :1521
URL:"jdbc:oracle:thin:@localhost :1521:orcl";
DRIVERNAME:"oracle.jdbc.driver.OracleDriver";
DOS yes Disk Operation System For short , Meaning for Disk operating system
Create a table and add comments
CREATE TABLE `t_account_phone_pool` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`create_time` datetime DEFAULT NULL COMMENT ' Creation time ',
`update_time` datetime DEFAULT NULL COMMENT ' Modification time ',
`is_enable` tinyint(1) NOT NULL DEFAULT '1' COMMENT ' Data available 0: Unavailable ;1: You can use ',
`is_delete` tinyint(1) NOT NULL DEFAULT '0' COMMENT ' Logical deletion 0: Not delete ;1: Delete ',
`create_user` varchar(20) DEFAULT NULL COMMENT ' founder ',
`update_user` varchar(20) DEFAULT NULL COMMENT ' Modifier ',
`account_name` varchar(20) NOT NULL COMMENT ' Account name ',
`phone` varchar(20) NOT NULL COMMENT ' number ',
`send_limit_count` int(11) NOT NULL COMMENT ' Send limit times ',
PRIMARY KEY (`id`),
KEY `idx_phone_account_name` (`phone`,`account_name`),
KEY `idx_phone` (`phone`),
KEY `idx_account_name` (`account_name`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT=' Account number - Number pool table ';
Command to view field comments in the table ( explain )
show full columns from tablename;
边栏推荐
- Kirin Xin'an won the bid for the new generation dispatching project of State Grid!
- Tp6 realize Commission ranking
- AI写首诗
- 杰理之发起对耳配对、回连、开启可发现、可连接的轮循函数【篇】
- 怎么在手机上买股票开户 股票开户安全吗
- J ü rgen schmidhub reviews the 25th anniversary of LSTM papers: long short term memory All computable metaverses. Hierarchical reinforcement learning (RL). Meta-RL. Abstractions in generative adversar
- 【RT-Thread env 工具安装】
- 转置卷积理论解释(输入输出大小分析)
- [RT thread env tool installation]
- PMP每日一练 | 考试不迷路-7.7
猜你喜欢
PV static creation and dynamic creation
Empowering smart power construction | Kirin Xin'an high availability cluster management system to ensure the continuity of users' key businesses
Dynamic addition of El upload upload component; El upload dynamically uploads files; El upload distinguishes which component uploads the file.
PMP practice once a day | don't get lost in the exam -7.7
小试牛刀之NunJucks模板引擎
Business experience in virtual digital human
索引总结(突击版本)
# 欢迎使用Markdown编辑器
爬虫实战(七):爬王者英雄图片
Jerry's headphones with the same channel are not allowed to pair [article]
随机推荐
R语言ggplot2可视化:使用ggpubr包的ggqqplot函数可视化QQ图(Quantile-Quantile plot)
R语言ggplot2可视化:使用ggpubr包的ggecdf函数可视化分组经验累积密度分布函数曲线、linetype参数指定不同分组曲线的线型
what‘s the meaning of inference
Redis master-slave and sentinel master-slave switchover are built step by step
Experiment 1 of Compilation Principle: automatic implementation of lexical analyzer (Lex lexical analysis)
Solve the error reporting problem of rosdep
浏览积分设置的目的
R language ggplot2 visualization: use the ggqqplot function of ggpubr package to visualize the QQ graph (Quantitative quantitative plot)
RESTAPI 版本控制策略【eolink 翻译】
Unable to link the remote redis server (solution 100%
网信办公布《数据出境安全评估办法》,9 月 1 日起施行
凌云出海记 | 赛盒&华为云:共助跨境电商行业可持续发展
Key points of anti reptile: identifying reptiles
How to buy bank financial products? Do you need a bank card?
杰理之按键发起配对【篇】
How to estimate the value of "not selling pens" Chenguang?
歌单11111
从39个kaggle竞赛中总结出来的图像分割的Tips和Tricks
8 CAS
2022.07.02