| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Expert Join Date: Oct 2003 Location: ANForum
Posts: 5,218
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Aug 2003 Location: UK
Posts: 568
![]() | whats wrong? how do i set the mysql data base/\? connecting to the database usually is by enterring your username followed by the db name/ db username: such as: username_dbname username_dbusername password if your ftp username is "sitename" and your database is called "frogs", your db username and password are "tanks" and "bangers" resoectively, then it would look like this: sitename_frogs sitename_tanks bangers hope this helps! |
| |
| | #3 (permalink) |
| NamePros Webmaster ![]() ![]() ![]() Join Date: Feb 2003
Posts: 12,930
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Edit your config.php file and replace the values for database name, database username and password with the correct settings for your database. Those settings are provided to you by your webhost, or setup by you through your web hosting control panel. For example, code used with PHP to connect to a MySQL database: PHP Code: |
| |
| | THREAD STARTER #5 (permalink) |
| NamePros Expert Join Date: Oct 2003 Location: ANForum
Posts: 5,218
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | thanks all...fixed
__________________ |www.vb-skins.com|- Quality Premade Vbulletin skins for Your VB forum makeover |www.Banjir.com|-Free image hosting?[B]For Sale!|AlphaScripts|Money Generating Scripts FREE VB Skins |
| |
| | THREAD STARTER #6 (permalink) |
| NamePros Expert Join Date: Oct 2003 Location: ANForum
Posts: 5,218
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | have another similiar problem...anyone can help me now?? on msn?
__________________ |www.vb-skins.com|- Quality Premade Vbulletin skins for Your VB forum makeover |www.Banjir.com|-Free image hosting?[B]For Sale!|AlphaScripts|Money Generating Scripts FREE VB Skins |
| |
| | THREAD STARTER #7 (permalink) | ||||
| NamePros Expert Join Date: Oct 2003 Location: ANForum
Posts: 5,218
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |
| Originally Posted by -RJ- |
|
Edit your config.php file and replace the values for database name, database username and password with the correct settings for your database. Those settings are provided to you by your webhost, or setup by you through your web hosting control panel. For example, code used with PHP to connect to a MySQL database: PHP Code: |
| | #9 (permalink) |
| NamePros Regular Join Date: Sep 2003
Posts: 890
![]() ![]() | You need to give that user permissions for that database!
__________________ Online Time Tracking :) |
| |
| | #10 (permalink) | ||||
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
You seem to be assuming he is using cpanel but a database name does not always bear any relation to the account details of the ftp or control panel.
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft | ||||
| |