That makes no sense at all what your trying to do or posted above especially adding the mysql socket path in the host statement.
If you have a proper database with proper user permissions set up for reviewpost you should connect to it. I have done on tons upon tons of installs and as long as you enter the proper mysql info things are fine.
Any errors are always user error whether it be a wrong user or password or host for the mysql settings or the wrong table prefix.
If you look at the mysql site which backs me up here you will see by also looking at the code in our pp-inc.php file here
$db_link = mysql_connect("$host_bb", "$user_bb", "$password_bb")
that this is the way to connect to a mysql database. As long as you enter the proper information it will connect. There is no mystery and is the same format
VB phpADS and others use as well.