每个人都有自己的知识体系。
Toggle navigation
Home
随笔
C#/.Net
树莓派 / Raspberry
皓月汉化组
Beego
Golang
OxideMod
apache
haproxy
windows
Java
Objective-C
日语/罗马音歌词/日语常识
MongoDB
python
电学
公告
Minecraft服务器-公告
NanoPi
C4D (CINEMA 4D)
生活
推流/m3u8/rtmp/rtsp
Unity3d
ffmpeg
区块链
About Me
Archives
Tags
Oxide.Ext.MySql连接数据库
2017-01-21 02:21:17
104
0
0
akiragatsu
readonly Oxide.Ext.MySql.Libraries.MySql _mySql = new Oxide.Ext.MySql.Libraries.MySql(); Connection _mySqlConnection; Dictionary<string, object> dbConnection; void StartConnection() { try { _mySqlConnection = _mySql.OpenDb("ip", 3306, "dbname", "user", "pwd", this); Puts("mysql 连接成功"); } catch (Exception ex) { Puts("链接数据库错误 原因:" + ex.ToString()); } }
Pre:
OxideMod中 player基本函数和属性
Next:
获取NVIDIA显卡温度
0
likes
104
Weibo
Wechat
Tencent Weibo
QQ Zone
RenRen
Submit
Sign in
to leave a comment.
No Leanote account?
Sign up now.
0
comments
More...
Table of content
No Leanote account? Sign up now.