database connection issue

HiAm new to using Drupal and having an issue getting the correct php string in the settings.php where it says to put in your username:password@localhost etc.It gives you an example:* Database URL format: * $db_url = 'mysql://username:password@localhost/databasename'; * $db_url = 'mysqli://username:password@localhost/databasename'; * $db_url = 'pgsql://username:password@localhost/databasename'; */$db_url = 'mysql://username:password@localhost(is this the ftp client password or the database password please? When I put in the database password and have tried various ways it does not recognise it, on the database user and db name/databasename';$db_prefix = '';when I try the usual way it comes up with a parse error during installation saying it recognises the database user and passwrd but not the database name, even though these have been set up properly with permissions.it says during installation:Warning: parse_url(mysql://username:password@localhost/databasename): Unable to parse url in /home/mydragon/mydragonateamazingnoodles.com/html/Paranormal/includes/database.mysql.inc on line 33am confused as I know the database, username and password for the username is correct and also the user is linked to the database with all permissions set correctly.I am new to this way of writing the database connection command as I am used to doing it "localhost" "dbname" "password" "username" "prefixs".read more

Advertising