The manual says that the default user, if you haven’t set $dbuser
, will be the value of ini_get("mysqli.default_user")
, so ‘dredington’ was presumably set by your web hosting company in their php.ini file.
solved Who is user ‘dredington’@’localhost’? [closed]