Hi.
Yaswanth Narvaneni wrote:
Hi!
Is there a function (or a code snippet) in PHP for mysql password() function?
I 'dont' want to use something like select * from table where
table.passwd=password($passwd);
Is there any other alternate way to do it?
Try this:
You don't need a MySQL connec
yeah
if you just installed, root doesn't have a password.. so you need to not
specify -p (this tells the server to try and authenticate with an empty
password, as opposed to attempting to authenticate with no password..
there is a difference):
mysqladmin -u root password mypassword
Mike
Jer
2 matches
Mail list logo