472,119 Members | 1,586 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

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 1090
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.