MySQL databse connectivity error

Hi, I just channged my database passowrds, and now i get an error “Unable to connect to the database: Could not connect to MySQL” , so i thought of updating my config.php file…and now please help me in doing this, how should i do this and where can i find the file? there is “cPanel importer” and its just to import from my old hosting space…Please help me out its urgent…
Thank you[hr]
Can any one gimme some helping wiki pages or something…coz its real URGENT

What software is your site running? config.php is usually in the same directory as favicon.ico and index.php. Use your FTP program, or WebFTP (available in the panel here under Manage Domains) and edit config.php with your new password.