 |
hadar Apprentice
Joined: 30 Aug 2009 Posts: 198 Location: my apt, in california
|
Posted: Fri Jan 15, 2010 3:40 pm
cmud to a mysql server |
i was looking for a way to send a md5 hash to my mysql server,
i dont think there is any way with zscript,
and i dont know the other coding languages well enough to try to attempt something like this.
so i was wondering if its even possiable? or would cmud be able to support a coding language like php to preform this? |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Jan 15, 2010 6:18 pm |
You should take a look at the latest 3.12 BETA version of CMUDPro. There are new #SQLDB and %sql commands that are documented in a Sticky post in the CMUD Beta Forum that can be used to connect to any SQL server. Regular CMUD users can only access SQLite, but CMUDPro users can access MySQL, MSSQL, Oracle, etc. You'll need the SQL driver for the database you are using. If you look in the zApp Download area on this web site, you can find the drivers for MySQL.
zScript doesn't have any MD5 function, but you should be able to do that via the Lua scripting interface. You can also use Lua for the SQL stuff if you really know what you are doing, and there have been some posts in this forum you can search for talking about Lua and SQL within CMUD. |
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|