CodeIgniter Forums
[Solved] Strange Mysql problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: [Solved] Strange Mysql problem (/thread-9238.html)



[Solved] Strange Mysql problem - El Forum - 06-18-2008

[eluser]int2k[/eluser]
I've just tried to code some CI application
in my localhost it run okay, but when i upload the same code
to the server. it gave me strange database error

Quote:A Database Error Occurred

Error Number: 0

SELECT kode_sekolah, nama, alamat, telpon, fax, daya_tampung FROM t_sekolah WHERE kode_sekolah != '000' ORDER BY kode_sekolah

Localhost configuration :
XAMPP 1.6
Apache/2.2.6 (Win32) mod_ssl/2.2.6 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
PHP Version 5.2.5, MySQL 5.0.51

Server :
Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_perl/2.0.3 Perl/v5.8.8
PHP Version 4.4.8
MySQL 4.1.22

would it be compatibility problem ?


[Solved] Strange Mysql problem - El Forum - 06-18-2008

[eluser]gtech[/eluser]
I wonder if you are getting connection issues, have you double checked your database config. has the database reached its maximum number of connections


[Solved] Strange Mysql problem - El Forum - 06-18-2008

[eluser]int2k[/eluser]
problem solved
looks like i got the wrong database configured for the CI


puffh need some sleep