Maze Posted December 4, 2014 Share Posted December 4, 2014 hello and good day dear php-freakswhich is the passwd for the mysql dbrun opensuse - therein i have installed a myql serfver and an apachenow i want to port over a cms-system from a server to the localhost.question: the passwd of the configuriatin of the cms has got the followingdb connecgtionhost : localhostdb-namedb-passwdquestion: does the db passwd need to match the passwd of the local mysql server!?is this truelove to hear from you Quote Link to comment https://forums.phpfreaks.com/topic/292893-db-passwd-port-over-from-server-to-local-machine/ Share on other sites More sharing options...
Ch0cu3r Posted December 4, 2014 Share Posted December 4, 2014 Yes. You use the mysql username/password for the server you are connecting to. Quote Link to comment https://forums.phpfreaks.com/topic/292893-db-passwd-port-over-from-server-to-local-machine/#findComment-1498530 Share on other sites More sharing options...
gizmola Posted December 4, 2014 Share Posted December 4, 2014 I'm not sure we have enough information. Typically on your localhost install you will be running a local mysql server. For this reason people use a variety of different techniques to differentiate your environment. These are some of the common environments: 'dev' - development 'prod' - production 'test' - for automated testing/unit tests 'qa' - for quality assurance Many frameworks come with a configuration scheme that allows you to have different configuration variables for each, and then differentiates the environment based on something like a route or an environment variable. Quote Link to comment https://forums.phpfreaks.com/topic/292893-db-passwd-port-over-from-server-to-local-machine/#findComment-1498542 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.