How to link up a mysql user database with ajax chat

145 views
Skip to first unread message

Nate Boland

unread,
Mar 13, 2015, 4:13:20 PM3/13/15
to ajax...@googlegroups.com
You create an account on the site then under your profile you can press chat. From here the user name and password dont carry to the chat and wont let you log in using your already made credentials. Please help Thanks :)

My user database is called tz_members

Ferdinand Bucago

unread,
Mar 20, 2015, 3:31:58 PM3/20/15
to ajax...@googlegroups.com
Since you already have a database tz_member, all you need to do is to run the chat.sql into you database to create the necessary tables. After that you will have to edit /lib/config.php

// Database connection values:
$config['dbConnection'] = array();
// Database hostname:
$config['dbConnection']['host'] = 'localhost';
// Database username:
$config['dbConnection']['user'] = 'root';
// Database password:
$config['dbConnection']['pass'] = '';
// Database name:
$config['dbConnection']['name'] = 'tz_members';
// Database type:
$config['dbConnection']['type'] = null;
// Database link:
$config['dbConnection']['link'] = null;









Hope this will help you Nate
Reply all
Reply to author
Forward
0 new messages