I have a CMS website built with codeigniter. In that site i have a blogging section which is using WordPress

codeigniter connects to MySQL using its class and WordPress connects using its class

site is hosted in shared hosting with godaddy.

connection to database breaks in between browsing sometimes WordPress connects to database and sometimes the codeigniter, but using phpmyadmin i can always connect.

i contacted the server people and they said its not their problem since i am able to connect using phpmyadmin

can somebody share some information on the same.