Okay, now you are more clear!
A database URL looks like this:
- Code: Select all
mysqli://username:password@localhost/databasename
or this if mysqli for some reason can't be used:
- Code: Select all
mysql://username:password@localhost/databasename
When you use a MySQL account without a password (in XAMPP the MySQL root user has no password by default) you can leave out the password and then the database URL looks like this:
- Code: Select all
mysqli://username@localhost/databasename
If you use the MySQL root user in XAMPP, the username is 'root'.