- Flash Multiplayer Virtual Worlds
- Makzan
- 191字
- 2021-08-03 15:29:09
Connecting SmartFoxServer and MySQL server
SmartFoxServer is a Java application and Java database connection driver is needed to connect from SmartFoxServer to MySQL database.
Downloading JDBC Driver for MySQL
JDBC is a Java database connection driver that we need to establish connections between the Java-based SmartFoxServer and the MySQL server. The JDBC driver for MySQL is called Connector/J. We are going to install it to enable MySQL connection from SmartFoxServer.
- Go to http://dev.mysql.com/downloads/connector/j/5.1.html in web browser.
- Download the Platform Independent Zip Archive.
- It may ask you to log in to MySQL.com account. Click on No thanks, just take me to the downloads! to bypass the login step.
- Choose a mirror to download by clicking on HTTP.
Setting up the JDBC driver
The MySQL Java connector comes with a bunch of files. We only need two among them.
- Extract the
mysql-connector-java-5.1.10.zip
file to a temporary folder. - Open the folder and find the
mysql-connector-java-5.1.10-bin.jar
file. - Copy that
jar
file intoSmartFoxServer installation directory | jre | lib | ext.
- Go into the
src
directory of the extracted directory and copy theorg
directory to SmartFoxServer installation directory | jre | lib | ext.
推薦閱讀
- 3ds Max 2014標(biāo)準(zhǔn)教程(全視頻微課版)
- Ext JS 3.0 Cookbook
- Getting Started with Microsoft Application Virtualization 4.6
- AI繪畫教程:Midjourney關(guān)鍵詞靈感手冊
- Adobe Photoshop 網(wǎng)頁設(shè)計與制作標(biāo)準(zhǔn)實訓(xùn)教程(CS5修訂版)
- Spring Web Flow 2 Web Development
- Plone 3 Multimedia
- Salesforce CRM: The Definitive Admin Handbook
- PostgreSQL Replication
- Backbone.js Cookbook
- Apache CXF Web Service Development
- .NET 4.0 Generics
- OpenVPN 2 Cookbook
- SolidWorks 2020中文版入門、精通與實戰(zhàn)
- Photoshop CC APP UI設(shè)計從入門到精通