Hello friends Can you please help I was installing a PHP Link Directory script... i made a data base named "aditya_dir" and also root ID and password..then uploaded the scripts package to the server ....I changed all settings in config.php and changed the database name and server to "localhost" (I have verified) and every information is correct there...still i am getting a error... while running install.php ..."Database not found" ...please help www.desifunda.info/dir/install.php regards aditya
server name is 'localhost' database name is not 'localhost' it is 'aditya_dir' user is 'aditya_xxxx' password is 'yyyyy'
Are you on shared hosing where your database name would be prefixed with the username of the database? In the systems I have on a cpanel controlled shared host, clicking on the mysql icon, will show the connection string need less password. So for instance the database name might be aditya_aditya_dir, if aditya is your cpanel user name.
my cpanel user name is "aditya" and database name is "dir" so the database name comes to be "aditya_dir"