I have a problem with the production environment, what if port 3306 blocked by the hosting provider. whether the database connection can be changed through the application scriptcase?. are there any other solutions?
whether mysql connection can be edited through a php script. help me please… Thanks…
No, if the database listens to 3306 then the only way is change that to another port in mysql.ini. then you can change the connection in prod to the new port. Actually I doubt that your provider will let you change the mysql port if you are on a regular host.