mikefrederick Posted May 19, 2008 Share Posted May 19, 2008 When you setup mysql on your pc, when do you setup the password? I.E. the password I connect with using mysql_connect Quote Link to comment https://forums.phpfreaks.com/topic/106319-using-mysql-locally/ Share on other sites More sharing options...
mikefrederick Posted May 19, 2008 Author Share Posted May 19, 2008 also if you are on the comp it is installed on is the host always localhost? Quote Link to comment https://forums.phpfreaks.com/topic/106319-using-mysql-locally/#findComment-544871 Share on other sites More sharing options...
947740 Posted May 19, 2008 Share Posted May 19, 2008 You should set the password when you first install it. Yes, you will be on localhost. Quote Link to comment https://forums.phpfreaks.com/topic/106319-using-mysql-locally/#findComment-544919 Share on other sites More sharing options...
wildteen88 Posted May 19, 2008 Share Posted May 19, 2008 If you did not set a password when mysql was installed then you don't need to provide the password in the mysql_connect function. If you wish to set a password for the root account you can do so by MySQL Administrator (download from mysql.com) or you can use phpMyAdmin if you have it setup. Quote Link to comment https://forums.phpfreaks.com/topic/106319-using-mysql-locally/#findComment-545040 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.