Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

MySql Localhost (1 reply)

$
0
0
Today I updated wampserver from 3.1.7 to 3.2.0 and found a problem logging in my virtual websites. When using mysqli_connect() I had been satisfactorily using 'localhost' as the host but the new version requires 'localhost:3308', as I choose to use MySql, not MariaDB.
However, my webhost accepts 'localhost' or 'localhost:3306'. I do not want to edit my websites with wampserver then change mysqli_connect parameters before uploading to my webhost. Is there some way to continue using 'localhost' (without ':3308') in wampserver?

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>