469,913 Members | 2,002 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,913 developers. It's quick & easy.

Problem in mysql

1
Hi guys, i'm new member and i need help from you, i have a proble in mySQL especially in mysql_connect(localhost, username, password) function. I have no problem with localhost, the problem is in username and password how I am going to create them? that is problem to me, someone to help pls
Dec 19 '06 #1
1 1062
ronverdonk
4,258 Expert 4TB
In your MySQL setup you have defined users or not.
If not, logon as user 'root' and password 'whatever-you-set-it' and define your user.

If you don't know how to, it is easiest to get help online: go to the MySQL command line interface and give
Expand|Select|Wrap|Line Numbers
  1. mysql help create user
and a
Expand|Select|Wrap|Line Numbers
  1. mysql help grant
commands. That will show you how to define a user and how to give GRANTs to a user.

Ronald :cool:
Dec 19 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Duane Winner | last post: by
reply views Thread by Tiffany Wilkes | last post: by
reply views Thread by Annie Xie | last post: by
reply views Thread by Gary Cote | last post: by
1 post views Thread by Lynton Towler | last post: by
3 posts views Thread by Juan Antonio Villa | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.