|
|
|
|
![]() ![]() |
May 16 2006, 08:50 PM
Post
#1
|
|
|
Advanced Member Group: Members Posts: 153 Joined: 8-May 06 From: Houston, TX Member No.: 13,291 |
wenever i assign priviledges to a MySQL databases, it seems to work properly but this message is always there
QUOTE bitshift_wforumu (Privileges: ALL PRIVILEGES) Connection Strings Perl $dbh = DBI->connect("DBI:mysql:bitshift_wforum:localhost","bitshift_wforumu","<PASSWORD HERE>"); PHP $dbh=mysql_connect ("localhost", "bitshift_wforumu", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ("bitshift_wforum"); My database name is: bitshift_wforum the username is: bitshift_wforumu What does all that maen, it displays it anytime i grant priviledges on any mysql server to any user note: i am new to all this MySQL stuff This post has been edited by BitShift: May 16 2006, 08:51 PM |
|
|
|
May 17 2006, 07:23 AM
Post
#2
|
|
|
PsYcheDeLiC dR3aMeR Group: Admin Posts: 2,242 Joined: 29-January 05 From: Nakorn Chaisri, Thailand Member No.: 2,411 myCENTs:84.36 |
Ooh this isn't anything to worry about
Most likely you encounter this when you assign privileges through your cPanel MySQL DB Manager. As you can see the section is titled Connection Strings - this simply shows you a few common command syntaxes with which you can connect to your freshly created/modified MySQL database. If you notice carefully - there are two separate connection strings, that are displayed for your convenicne. One in is PERL, which utilizes the DBI library that provides a uniform wrapper to connect to a wide variety of databases. The second one is your standard PHP syntax for connection to MySQL... I believe these are placed simply for your convenience and to give you an indication as to which direction to head for, if you start writing code with these two more popular web-scripting languages. |
|
|
|
May 17 2006, 02:20 PM
Post
#3
|
|
|
Way Out Of Control - You need a life :) Group: [MODERATOR] Posts: 2,242 Joined: 16-August 05 Member No.: 7,896 myCENTs:56.55 |
QUOTE I believe these are placed simply for your convenience And I feel these messages very convenient because once upon a time they helped me debugging my php program which had "almost" the correct connection string. |
|
|
|
May 17 2006, 08:11 PM
Post
#4
|
|
|
Advanced Member Group: Members Posts: 153 Joined: 8-May 06 From: Houston, TX Member No.: 13,291 |
ahh i see now
thanks for the info |
|
|
|
May 22 2006, 04:10 PM
Post
#5
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 2 Joined: 22-May 06 Member No.: 13,595 |
wenever i assign priviledges to a MySQL databases, it seems to work properly but this message is always there My database name is: bitshift_wforum the username is: bitshift_wforumu What does all that maen, it displays it anytime i grant priviledges on any mysql server to any user note: i am new to all this MySQL stuff Hi, maybe just try to name your database into something else, like "forum" and just make another database in that one, you can name it bitshift_wforum if you want to then... I guess this could help, i never had problems with mysql trying to connect to my database... |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 5th December 2008 - 02:54 PM |