Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By nickmade on
When running upgrade.php i got this error " Warning: mysql_connect(): Unknown MySQL Server Host 'mysql' (2) in /*****/********/public_html/nickkarstedt/phportal/includes/database.mysql.inc on line 31
Unknown MySQL Server Host 'mysql' (2) " Please help. I put " * "'s to filter what i can show you, it didnt show the stars in the message
Comments
Ooops, i made a stupid mistak
Ooops, i made a stupid mistake when copying my mysql://**********. I recieved another error though, please help.
Fatal error: Table 'caldwell_nicknukehall.users_roles' doesn't exist query: SELECT r.rid, r.name FROM role r INNER JOIN users_roles ur ON ur.rid = r.rid WHERE ur.uid = 1
Is the table there?
Take a look and see if that table users_roles is in your database. If not, you'll need to create it. If you upgraded, this is one of the tables you have to create manually, as per the instructions.
Annie