The format will be the same, replace<br>username by mysql username - usually root<br>password by mysql password - usually blank<br>localhost by hostname - usually localhost<br>databasename by DB name you created - i believe you mentioned foo, so type the same in here too.<br>
<br>For more you can also refer <a href="http://drupal.org/node/126558">http://drupal.org/node/126558</a><br><br><div class="gmail_quote">On Tue, Oct 18, 2011 at 4:33 AM, Phil Dobbin <span dir="ltr"><<a href="mailto:phildobbin@gmail.com">phildobbin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi.<br>
<br>
When attempting to install Drupal 6 when I enter my database<br>
details, MySQL throws the error that no such file exists & to<br>
check my database name & user.<br>
<br>
I've checked MySQL & the DB is there with the correct name &<br>
password I gave it so I'm stumped.<br>
<br>
Do I have to alter the line `$db_url =<br>
'mysqli://username:password@localhost/databasename';' in my<br>
settings file & if so, if the name of the DB was `foo' & the<br>
user `bar' what syntax would this require.<br>
<br>
I'm attempting an install on OS X Snow Leopard with MySQL 5.19,<br>
PHP 5.3.6 & a localhost installation on a Macbook Pro. I've<br>
followed all the install instructions & PHP is working with a<br>
test page from inside my Drupal directory.<br>
<br>
Thanks for any help...<br>
<br>
Cheers,<br>
<br>
Phil.<br>
--<br>
Please consider the environment before reading this email...<br>
<font color="#888888"><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Vaibhav Jain<br>