123 Flash Chat Server Software
Home > Installation and Upgrade > Installation > Store Data in Mysql
User Manual
Home > Installation and Upgrade > Installation
  • Introduction
  • Installation and Upgrade
  • Installation
  • For Windows User
  • For Linux User
  • Other Platform
  • Storing Data in MySQL
  • Server Requirements
  • Client Requirements
  • Upgrade
  • Admin Panel
  • Website Integration
  • DIY Skin and Smiley
  • For Developers

Home HomePre page Other Platform | Server Requirements Next page

Storing Data in MySQL


If you need to store your data (such as user information or room information) in MySQL and you have had 123 Flash Chat v7.2 installed on your server, please follow the instructions below:

1 Create database

Start a command prompt in Windows or a Terminal in Linux, and run the following commends:

<mysql install directory>/bin/mysql --user=[user] --password=[password] --execute="CREATE DATABASE flashchat CHARACTER SET utf8 COLLATE utf8_bin;"

[user] and [password] is your MySQL account.

2 Import flashchat tables:

Please run the following commends: <mysql install directory>/bin/mysql --user=[user] --password=[password] --default-character-set=utf8 flashchat < <123flashhcat installed directory>/server/etc/mysql.sql

3 Edit fcserver.xml

3.1 Open this file: <123flashchat installed directory>/server/etc/fcserver.xml

3.2 Find this node: <database-mode>Default</database-mode>, change "Default" to "MySQL".

3.3 Find this node: <database-server port="9001" ip="localhost" enable="On"></database-server>

And change enable="On" to enable="Off".

4 Configure Mysql.xml

Open <123flashchat install directory>server/etc/Mysql.xml, and configure the parameters according to the instruction, and this section: <connection-pool>...</connection-pool> is mainly used for database connection pool configuration, so it is unnecessary to modify.

5 Restart your chat server.

 

Related links:

For Windows User

For Linux User

Other Platform


Home HomePre page Other Platform | Server Requirements Next page

Home | About | Demo | Features | Download | Order | FAQ | Support | Reviews | Affiliate | Links | Sitemap | Community | Blog
 
Chat Server Software| Flash Video Chat| Online Webcam Chat| Webcam Chat Room Software| Customizable Chat Program | Instant Messaging Chat Server
Flash Chat in China | Chat Plugin| Free Chat Host| Free Chat Server Download| Live Support Software | Add Chat Room to Website
Legal Disclaimer| Privacy Statement | Terms of Use Copyright © 2001-2009 TopCMM Software Corp. All Rights Reserved.