I want to know how to make the code below connect to mysql, because everything is connected so I am confused about how to switch the database user from php to mysql. taken from