Welcome Guest, Not a member yet? Register   Sign In
[Solved] Strange Mysql problem

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 :
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/ mod_perl/2.0.3 Perl/v5.8.8
PHP Version 4.4.8
MySQL 4.1.22

would it be compatibility problem ?

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

problem solved
looks like i got the wrong database configured for the CI

puffh need some sleep

Theme © iAndrew 2016 - Forum software by © MyBB