Database connection not working with mysql_connect : <p>I am managing a website which is built a year or two back. The whole project is based on PHP and <code>mysql</code> is used to connect to the databases. It was performing fine until recently it stopped working. I did some tweaking and found that there is some problem with the database connect file. I replaced the <code>mysql_connect</code> with <code>mysqli_connect</code> and some part of the website started working. Ofcourse, everything will not work since it is built on mysql syntax. Now, it is impossible for me to replace all the codes with mysqli syntax.</p>

<p>So is there a way to get the website working, keeping the mysql_connect in the database connect file. And what might be the reason of this issue?</p>

<p>Any help is appreciated Thanks.</p>
