Scripts Database

Expand the features of Messenger Plus! Live

» Scripts » New Functions » SharedMySQL

SharedMySQL 1.0
Last Update: Sep 11, 2009 05:26 PM download
Creator: TotempaaltJ
Downloads: 1,610
Rating:
* * * * * (49 ratings) 
Information:
SharedMySQL connects to your local/online MySQL server and resembles the MySQL command line interface. It's quite a big new feature.

Important:
There are no configuration screens, they will probably be included in the next version (1.1? 2, maybe?), for now you'll just have to configure everything by editing the scripts!

Instructions:
After installing the script, it's not ready to use yet. Default configuration will want the .php file on this location: http://localhost/SharedMySQL/sharedmysql.php. Follow the steps to complete the installation:

1. Edit the sharedmysql.php file and set the host, username, password and databse. Defaults won't work!! (except if your username is 'username', password 'password' etc.)
I advise you to not use the 'root' account because he can edit everything, which is a bad thing. You should use another account, restricted to one database, as you can't (yet) switch databases.
2. Move the sharedmysql.php file to the location you want it to be, if this is http://localhost/SharedMySQL/sharedmysql.php, skip step 3.
3. Edit the sharedmysql.js file and set the location of the sharedmysql.php file.
4. Now you're ready to use SharedMySQL, see commands below.

Commands:
/startSQL
Start the SharedMySQL app for all users currently in this chatwindow.
From this command on your friend(s) will be able to use query%.

/stopSQL
Stop the SharedMySQL app for all users currently in this chatwindow.
Your friend(s) will no longer be able to use query%.

query%
Send a query. (You will always be able to do this)

Having problems with this script?