zizwce Posted February 13, 2008 Posted February 13, 2008 Hi I still new in this and need help about my installation. I got Unable to connect to database server! after i install it. Below is the configure.php This is first file includes/configure.php <?php// Define the webserver and path parameters// * DIR_FS_* = Filesystem directories (local/physical)// * DIR_WS_* = Webserver directories (virtual/URL) // add your database and website details to the variables belowdefine('DB_SERVER_USERNAME', 'ebook'); // your username that you use to log into your web serverdefine('DB_SERVER_PASSWORD', 'noname'); // your password that you use to log into your web serverdefine('DB_DATABASE', 'ebookstore'); // your databasedefine('DIR_FS_CATALOG', '/home/public_html/yesdailymoney/'); //absolute pathdefine('HTTP_SERVER', 'http://www.yesdailymoney.com'); define('HTTP_COOKIE_DOMAIN', '.yesdailymoney.com'); // do not include the wwwdefine('DB_SERVER', 'localhost'); This is 2 file admin/includes/configure.php <?php/**/// Define the webserver and path parameters// * DIR_FS_* = Filesystem directories (local/physical)// * DIR_WS_* = Webserver directories (virtual/URL) // add your database and website details to the variables belowdefine('DB_SERVER_USERNAME', 'ebook'); // your username that you use to log into your web hosting serverdefine('DB_SERVER_PASSWORD', 'noname'); // your password that you use to log into your web hosting serverdefine('DB_DATABASE', 'ebookstore'); // replace CHANGEME with your "database_name"define('DIR_FS_ADMIN', '/home/ipw.funnypic/public_html/yesdailymoney/admin/'); // your username that you use to log into your web hosting server define('DIR_FS_CATALOG', '/home/ipw.funnypic/public_html/yesdailymoney/'); // your username that you use to log into your web hosting serverdefine('DIR_FS_DOCUMENT_ROOT', '/home/ipw.funnypic/public_html/yesdailymoney/'); // your username that you use to log into your web hosting serverdefine('SITE', 'www.yesdailymoney.com'); //Make sure you have the correct absolute pathdefine('WWW', 'http://www.yesdailymoney.com'); define('HTTP_SERVER', 'http://www.yesdailymoney.com');define('HTTP_CATALOG_SERVER', 'http://www.yesdailymoney.com'); Help me how to slove the problem thanks
web-project Posted February 13, 2008 Posted February 13, 2008 define('DB_SERVER_USERNAME', 'ebook'); should be define('DB_SERVER_USERNAME', 'localhost'); or define('DB_SERVER_USERNAME', '127.0.0.1'); or on specific ip address define('DB_SERVER_USERNAME', '192.168.0.777'); Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
zizwce Posted February 13, 2008 Author Posted February 13, 2008 define('DB_SERVER_USERNAME', 'ebook'); should be define('DB_SERVER_USERNAME', 'localhost'); or define('DB_SERVER_USERNAME', '127.0.0.1'); or on specific ip address define('DB_SERVER_USERNAME', '192.168.0.777'); i tried but still not working
zizwce Posted February 14, 2008 Author Posted February 14, 2008 i tried but still not working anyone?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.