Hi, i am a beginner in PHP and mySQL.
Whenever I try to connect my php and mysql
database, i get this error.:
MySQL error : access denied for myuser@localhost (Using password:yes)
I have created a database called mydatabase at the SQLmonitor,
mySQL> create database mydatabase;
then i try to grant the access to mydatabase by
mySQL>GRANT usage on mydatabase.* to myuser@localhost;
mySQL>GRANT ALL PRIVILEGES on mydatabase.* to myuser@localhost;
mySQL>exit
mySQL>SET PASSWORD FOR myuser = Password('helloworld');
I modified the php file with the database username as myuser, password as
helloworld,
host as localhost, database name as mydatabase.
Please advice as to how i can avoid having problems of access denied above.
thank you.
zhen 3 3112
I have the same problem
I try to improve the security on the mysql and now I can't get into it.
I get this massage.
“Access denied for user: '@localhost' to database 'mysql' ”
Is the same throw webmin or phpMyAdmin
Can anybody please help
I’m runnin Redhat 7.3 and mysql 3.23.56
/harly
c_chen wrote: Hi, i am a beginner in PHP and mySQL. Whenever I try to connect my php and mysql database, i get this error.: MySQL error : access denied for myuser@localhost (Using password:yes)
I have created a database called mydatabase at the SQLmonitor, mySQL> create database mydatabase;
then i try to grant the access to mydatabase by mySQL>GRANT usage on mydatabase.* to myuser@localhost; mySQL>GRANT ALL PRIVILEGES on mydatabase.* to myuser@localhost; mySQL>exit mySQL>SET PASSWORD FOR myuser = Password('helloworld'); I modified the php file with the database username as myuser, password as helloworld, host as localhost, database name as mydatabase.
Please advice as to how i can avoid having problems of access denied above. thank you. zhen
I have the same problem
I try to improve the security on the mysql and now I can't get into it.
I get this massage.
“Access denied for user: '@localhost' to database 'mysql' ”
Is the same throw webmin or phpMyAdmin
Can anybody please help
I’m runnin Redhat 7.3 and mysql 3.23.56
/harly
c_chen wrote: Hi, i am a beginner in PHP and mySQL. Whenever I try to connect my php and mysql database, i get this error.: MySQL error : access denied for myuser@localhost (Using password:yes)
I have created a database called mydatabase at the SQLmonitor, mySQL> create database mydatabase;
then i try to grant the access to mydatabase by mySQL>GRANT usage on mydatabase.* to myuser@localhost; mySQL>GRANT ALL PRIVILEGES on mydatabase.* to myuser@localhost; mySQL>exit mySQL>SET PASSWORD FOR myuser = Password('helloworld'); I modified the php file with the database username as myuser, password as helloworld, host as localhost, database name as mydatabase.
Please advice as to how i can avoid having problems of access denied above. thank you. zhen
I have the same problem
I try to improve the security on the mysql and now I can't get into it.
I get this massage.
“Access denied for user: '@localhost' to database 'mysql' ”
Is the same throw webmin or phpMyAdmin
Can anybody please help
I’m runnin Redhat 7.3 and mysql 3.23.56
/harly
c_chen wrote: Hi, i am a beginner in PHP and mySQL. Whenever I try to connect my php and mysql database, i get this error.: MySQL error : access denied for myuser@localhost (Using password:yes)
I have created a database called mydatabase at the SQLmonitor, mySQL> create database mydatabase;
then i try to grant the access to mydatabase by mySQL>GRANT usage on mydatabase.* to myuser@localhost; mySQL>GRANT ALL PRIVILEGES on mydatabase.* to myuser@localhost; mySQL>exit mySQL>SET PASSWORD FOR myuser = Password('helloworld'); I modified the php file with the database username as myuser, password as helloworld, host as localhost, database name as mydatabase.
Please advice as to how i can avoid having problems of access denied above. thank you. zhen
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Cathy Hui |
last post by:
Do u know why do i get the following message when trying to build the
MySql-Python (1.2.0) on my Solaris 8 system? (with mysql 4.0.21 and
python 2.4). thanks!
error mesg:
ld: fatal:...
|
by: Lenz Grimmer |
last post by:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
MySQL 4.0.14, a new version of the popular Open Source/Free Software
Database, has been released. It is now available in source and binary...
|
by: Stefan Hinz |
last post by:
Degan,
jumping in to try and solve some problems that look pretty obvious to
me ...
> #options for default service (mysqld2)
> (mysqld2)
It should be , not (mysqld2).
|
by: Dennis Francis B. Tutanes |
last post by:
$B$*@$OC$K$J$C$F$*$j$^$9!#(B
$B%D%?%M%9(B@TSTI$B$G$9!#(B
SEND-PR: -*- send-pr -*-
SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
SEND-PR: will all comments (text...
|
by: Adam Smith |
last post by:
I have a dedicated server running 'FreeBSD 4.9 STABLE' at a hosting
site. They have done some default installations, presumably from the CVS
ports package ??. Herein lies the problem, "I do not...
| |
by: Pugi! |
last post by:
On a freshly installed Fedora C3 (incl. webserver apache php mysql) i get
the following problem when connecting to mysql through a browser
(phpMyAdmin):
:
#2002 Can't connect to local MySQL...
|
by: jiing |
last post by:
Now let me describe what I have done and my purpose:
Originally, I want to user ports to install phpBB
But I found that phpBB doesn't support mysql 5.x (but the ports
installed mySQL 5.0.0...
|
by: sundeep.kumara |
last post by:
hi all,
I am a newbie .....I have compiled the source code of mysql-4.1.9 on
PPC-Linux
Its not giving any errors during configure,make or make install.
But,when i try to start the server...
|
by: Atli |
last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t.
In situations where your PHP application...
|
by: Steve Ametjan |
last post by:
I've been trying to get MySQL-python to install on Leopard for the
past couple of days, and I keep running into relatively the same
error. I'm hoping that someone on this list will be able to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |