Digital Kaos

mysql & Plugins development

Hi there, I am developing a plugin to connect to mysql database ...

 
Home Register FAQ Calendar Search Today's Posts Mark Forums Read Links


Navigation »Digital Kaos > Cable > Cable Dreambox > Dreambox Developement » mysql & Plugins development

Welcome Header
Reply
 
LinkBack Thread Tools Display Modes

 Old 28th January, 2009, 10:26 AM   #1
Newbie
 
Join Date: Jan 2009
Posts: 8
Thanks: 0
Thanked 3 Times in 2 Posts
Downloads: 13
Uploads: 0
baderh is on a distinguished road
Default mysql & Plugins development


Hi there,
I am developing a plugin to connect to mysql database and retrieve some data based on each box mac address.

I am done with the mac address side and password protection and generation side.

Now, i am trying to connect to mysql using the same plugin, however it gives me some errors (mysql_init() not valid or initialiezed) when executing the plugin in the box.

anyone have any idea about how to connect to mysql using cdk? or if it doesnt support mysql, is there any other database engine that it does support???
baderh is offline   Reply With Quote
 Old 28th January, 2009, 03:39 PM   #2
Newbie
 
Join Date: Jan 2009
Posts: 3
Thanks: 0
Thanked 4 Times in 1 Post
Downloads: 0
Uploads: 0
danci is on a distinguished road
Default

Originally Posted by baderh View Post
Hi there,
I am developing a plugin to connect to mysql database and retrieve some data based on each box mac address.

I am done with the mac address side and password protection and generation side.

Now, i am trying to connect to mysql using the same plugin, however it gives me some errors (mysql_init() not valid or initialiezed) when executing the plugin in the box.

anyone have any idea about how to connect to mysql using cdk? or if it doesnt support mysql, is there any other database engine that it does support???

Hmmm is database in box or on server? If on server, you must create special user that have rights for that ...
danci is offline   Reply With Quote
 Old 28th January, 2009, 07:04 PM   #3
Newbie
 
Join Date: Jan 2009
Posts: 8
Thanks: 0
Thanked 3 Times in 2 Posts
Downloads: 13
Uploads: 0
baderh is on a distinguished road
Default

the database is on server and the user have all the rights..

actully the plugin doesnt work at all... when i press on the to start it... it gives the error "undefined symbol: mysql_init"
baderh is offline   Reply With Quote
 Old 29th January, 2009, 06:32 AM   #4
Newbie
 
Join Date: Jan 2009
Posts: 3
Thanks: 0
Thanked 4 Times in 1 Post
Downloads: 0
Uploads: 0
danci is on a distinguished road
Default

Originally Posted by baderh View Post
the database is on server and the user have all the rights..

actully the plugin doesnt work at all... when i press on the to start it... it gives the error "undefined symbol: mysql_init"
Try to put mysql libs in /var/lib folder...

If I use curl, I put libcurl.so.2 in /var/lib for same reason If I don't put this file, plugin breaks on error undefined symbol.

My advice is use scripts for storing and retrieving data from mysql...
danci is offline   Reply With Quote
 Old 29th January, 2009, 07:33 AM   #5
Newbie
 
Join Date: Jan 2009
Posts: 8
Thanks: 0
Thanked 3 Times in 2 Posts
Downloads: 13
Uploads: 0
baderh is on a distinguished road
Default

I am going to try this...

I will arrange everything after I get connected to mysql and see my data.

so you mean I have to put the files in var/lib folder in dreambox?
baderh is offline   Reply With Quote
 Old 29th January, 2009, 04:03 PM   #6
Dreambox Guru
 
osborne82's Avatar
 
Join Date: Mar 2008
Location: any dreambox development forum
Posts: 127
Thanks: 35
Thanked 57 Times in 43 Posts
Downloads: 43
Uploads: 0
osborne82 is on a distinguished road
Default

Originally Posted by baderh View Post
I am going to try this...

I will arrange everything after I get connected to mysql and see my data.

so you mean I have to put the files in var/lib folder in dreambox?
enable sql via the prepare file in your cdk m8 enigma will be built with sql support then hopefully your plugin will get there follow fergys advice aswell m8 (seen your post on my dev forum )

cheers

osborne82
osborne82 is offline   Reply With Quote
 Old 9th February, 2009, 07:14 PM   #7
Newbie
 
Join Date: Feb 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Downloads: 1
Uploads: 0
horvi78 is on a distinguished road
Default

s


1234567890 dfdfio


Originally Posted by baderh View Post
Hi there,
I am developing a plugin to connect to mysql database and retrieve some data based on each box mac address.

I am done with the mac address side and password protection and generation side.

Now, i am trying to connect to mysql using the same plugin, however it gives me some errors (mysql_init() not valid or initialiezed) when executing the plugin in the box.

anyone have any idea about how to connect to mysql using cdk? or if it doesnt support mysql, is there any other database engine that it does support???
horvi78 is offline   Reply With Quote
Reply
» Digital Kaos > Cable > Cable Dreambox > Dreambox Developement


Bookmarks

Tags
development, mysql, plugins

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Collection of Plugins for Dreambox Devilfish Cable Dreambox 46 5th March, 2010 04:09 PM
Apache, PHP, Perl and MySQL for Dreambox Devilfish Dreambox Developement 3 2nd September, 2009 08:19 PM
please csmanager 1.1 plugins of dreambox.. borsalino Cable Dreambox 2 3rd August, 2008 02:37 PM
Dbox development thread? hotbaws11 Dbox2 1 1st August, 2008 12:20 AM
Plugins andrewspears2002 Dbox2 3 1st May, 2008 10:41 PM


All times are GMT. The time now is 10:26 AM.

This forum is best viewed with
Spreadfirefox Affiliate Button

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.1

Digital Kaos does not condone any illegal operations, including obtaining premium tv for free. Digital Kaos does not accept responsibilty for the loss of any equipment used.
Everything discussed on this forum is for experimental and educational purposes only. Use the information at your own risk.