Welcome Guest ( Log In | Register )



 
Closed TopicStart new topic
> Weird MySQL Message
BitShift
post May 16 2006, 08:50 PM
Post #1


Advanced Member
Group Icon

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
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post May 17 2006, 07:23 AM
Post #2


PsYcheDeLiC dR3aMeR
Group Icon

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 smile.gif

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.
Go to the top of the page
 
+Quote Post
yordan
post May 17 2006, 02:20 PM
Post #3


Way Out Of Control - You need a life :)
Group Icon

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.
Go to the top of the page
 
+Quote Post
BitShift
post May 17 2006, 08:11 PM
Post #4


Advanced Member
Group Icon

Group: Members
Posts: 153
Joined: 8-May 06
From: Houston, TX
Member No.: 13,291



ahh i see now

thanks for the info
Go to the top of the page
 
+Quote Post
BarbedWire
post May 22 2006, 04:10 PM
Post #5


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 2
Joined: 22-May 06
Member No.: 13,595



QUOTE(BitShift @ May 16 2006, 09:50 PM) *

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...
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. General Problems With New Account(2)
  2. Problem With Mysql(6)
  3. MySQL Database(3)
  4. IPS Driver Error / MySQL Database(1)
  5. Can I Access MySQL Database From Outsite, Directly(10)
  6. MySQL - Can't Connect(1)
  7. Problem With MySQL Not Being Able To Connect(9)
  8. Help Me!(3)
  9. Mysql Error Never Seen On My Site Before (too Many Connections).(13)
  10. Mysql Connect Error, Too Many Connections.(1)
  11. Php And Mysql Version.(7)
  12. Problems With cPanel(9)
  13. Problem With MySQL(5)
  14. What Is The MySQL Version @ Asta ?(16)
  15. Site Not Opeing ( Phpbb Forum) :: Can't Connect To Local Mysql(3)
  1. Mysql Server Not Stable After Hard Disk Swap On April 6th(2)
  2. Connecting To Astahost's Mysql(8)
  3. Cgiemail / Cgiecho(4)


 



- Lo-Fi Version Time is now: 5th December 2008 - 02:54 PM