![]() |
MySQL not working - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: MySQL not working (/showthread.php?tid=34497) Pages:
1
2
|
MySQL not working - El Forum - 10-01-2010 [eluser]klompie[/eluser] Sure, because when disabling autoloading database library and using: mysql_connect("localhost","crm_user","******") or die(mysql_error()); mysql_selectdb("dtd_crm") or die(mysql_error()); it works correclty MySQL not working - El Forum - 10-01-2010 [eluser]jmadsen[/eluser] what is your setup? are you running a WAMPP/XAMPP/etc or did you set up yourself? Without autoload, are you actually able to connect to the db and return results? Also, give this a try: $db['default']['dbdriver'] = "mysqli"; ---- it sounds like something with your server set up, but it could just be a bad file somewhere. There is also this thread that you may have already seen: http://ellislab.com/forums/viewthread/149308/#803971 MySQL not working - El Forum - 10-01-2010 [eluser]klompie[/eluser] I'm using a hosting provider and when using normal php commands i can get data from the database. Also $db[‘default’][‘dbdriver’] = “mysqli”; is not working MySQL not working - El Forum - 10-01-2010 [eluser]jmadsen[/eluser] well, I would try the same files on your local set up and see if it works there. if it does, it's your server. if it doesn't, it's your files. then we can play 20 questions tomorrow night and narrow it down further. I don't have any more time right now. MySQL not working - El Forum - 10-01-2010 [eluser]klompie[/eluser] Found the problem. It has something to do with the function eval being blocked. |