In wp-config, your settings should look like this:
// ** MySQL settings ** //
define('DB_NAME', 'accountname_databasename'); // The name of the database
define('DB_USER', 'accountname_databaseuser'); // Your MySQL username
define('DB_PASSWORD', 'YOURPASSWORD'); // ...and password
define('DB_HOST', 'lpsql02.lunariffic.com'); // 99% chance you won't need to change this value
I am confused about this point:
I am using CP (PHP4) before migrate in LPCP (PHP5). Is it the problem? What should I do?
Are you setting up this WordPress powered site using a cPanel controlled account or an LPCP controlled account?
Update - also split your topic into a new thread, since it is kinda taking over the original discussion/thread. 