Back home again
I find things a little confusing thanks to the English language.
I have an OVERALL account with Godday it has a username and password
I have an HOSTING account with Godday it has a username and password and of course now
I have a DATABASE with Godday’s HOSTING Ac. it of course has a username and password
from the ADMIN section of the HOSTING Ac, Godaddy tells me that for my MYSQL this:
Hostname: (the database name).db.[color=pink](string of numbers)[/color].hostedresource.com
Godaddy also gives you the give you suggested source code
It is this
<?php
            //Variables for connecting to your database.
            //These variable values come from your hosting account.
            $hostname = "[color=pink]mydbHname[/color].db.[color=pink](string of numbers[/color]).hostedresource.com";
            $username = "[color=pink]mtdbUname[/color]";
            $dbname = "[color=pink]mydbname[/color]";
            //These variable values need to be changed by you before deploying
            $password = "your password";
            $usertable = "your_tablename";
            $yourfield = "your_field";
        
            //Connecting to your database
            mysql_connect($hostname, $username, $password) OR DIE ("Unable to 
            connect to database! Please try again later.");
            mysql_select_db($dbname);
            //Fetching from your database table.
            $query = "SELECT * FROM $usertable";
            $result = mysql_query($query);
            if ($result) {
                while($row = mysql_fetch_array($result)) {
                    $name = $row["$yourfield"];
                    echo "Name: $name
";
                }
            }
            ?>
However I am working my way through an online tutorial and the information/coding is different and of course I just have to little knowledge at present to make enough sense of the material provided.