Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    MYSQL




Error 1045


i have a problem with mysql database.
On a linux machine at the first connect to database i have deleted from
users "@linux" and "@localhost" so when i try to connect from my machine
to my database i receive follow message :
mysql error 1045: access denied for root@localhost
I have try to reinstall mysql packages my problem persist!




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Error 1045 Access Denied Error
All of our applications run under the root username. (I prefere we not run that way, but that is the way our system is setup currently). When I run mysql I get the error:
ERROR 1045(28000): Access denied for user 'root'@'localhost' (using password: NO).

Looking at the documentation it recommended that I look at the table mysql.user. I shutdown mysql and start it up again (using mysql_safe and adding the parameter --skip-grant-tables). Once the server was running with skip-grant-tables, I was able to login into user mysql by type: mysql mysql......

I saw the row that had user "root" and host "localhost" had no password. In fact all "root" rows had no password and all the permissions columns were set to "Y". So I stopped the server and restarted it again without the skip-grant-tables and again I got the ERROR 1045 mesasge. (All of this when I was running as root). I also tried mysql -u root (it gave me the same error).

Are the new security issues going from version 4.0 to 4.1 that keep me from logging into mysql as root? We desire to be able to log in as root with out a password.

Other things I tried: I tried running mysqladmin....I tried mysql_fix_privilege_tables...it would not let me do any of these commands.

Error 1045
i'm running off vista and downloaded mysql and when i use the mysql browser and put in localhost,port 3306 and administrator or root or my name it gives me a 1045 error ... how do i configure the connection step by step so it could work.

ERROR 1045
I have installed LAMP on an ubuntu machine. Now when I use the command: mysql -u memyid -p
it gives me this error:

ERROR 1045 (28000): Access denied for user 'memyid'@'localhost' (using password: YES)

I did input the password that I set when installing the lamp package. But I do not know why it is acting this way... could some one tell me where I'm going wrong?

Error 1045
I've just installed MySQL on my home machine. I'm absolutely new to MySQL and have encountered the following error after the command mysql -u root -p:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

During installation I never set a password. I've input 'admin', 'root' and other guesses in as the password - the error is always the same. If I provide a carriage return without entering anything, the error changes slightly:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

I've seen this question posted elsewhere but have been hard-pressed to understand answers provided. Can someone provide an absolute newb with some guidance?

Error 1045
I am completly new to My SQL 5.0 and want to install it so I can play around with some database design.

I have installed it okay but receive an error message when I go through the Configuration Wizard. The error number is 1045 and the window says
"Access denied for user 'root'@'localhost' (using password NO).

The error description mentions the TCP port on my firewall. I have checked this and it is open so there should be no reason why it can't connect. Has anyone experienced a simliar problem. If so how did you get around it.

Error Nr 1045
I have got MySQL 5.0. I went into Control Panel ->windows firewall>Exceptions tab>"Add Port"button:name:mysql,Port:3306 TCP;
Chose "Add Program" button.
Browsed to MySQL(C:Program Filesmysql 5.0in
I started MySQL Server Instance Config Wizard
I typed whatever password. Confirmed it and:
it displayed : The security settings could not be applied. Error 1045.
My OS is Windows Vista.

Getting Error Nr. 1045
I'm trying to install MySQL. During the security settings portion fo the
setup. I keep getting a Connection Error.
Error Nr. 1045
Access denied for user'root'@'localhost'(using password:YES)
........

I had Zonealarm running. Changed the trusted zone security setting to
low(disabled) then selected "retry" Failed again.

Rebooted, turned off Zonealarm, going through configuration wizard I changed
the root password to "YES" connection still failed...
I'm obviously not crossing a "T" somewhere.

Error 1045 On Windows XP
I install MySQL on Windows XP and set the username "admin" and password "tester".
I can't login in the command, using mysql -u admin -p
Enter password: ******

I get ERROR 1045: Access denied for user: 'admin@localhost' (Using password: YES)

I typed the username and password correctly but I still get the error.
Anyone pls. help me,

Can't Log In As Anyone But Root. Error 1045
I can GRANT permissions to new users from both the MySQL monitor and phpmyadmin. However, when trying to connect with the new username and password (from either the command line or from a PHP script) I get an error.

Here's a copypaste of me logging into the console, adding a user, logging out, and trying to log in as the new user:

bash-2.05a$ /usr/local/bin/mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 522 to server version: 3.23.55-entropy.ch

Type 'help;' or 'h' for help. Type 'c' to clear the buffer.

mysql> grant all
-> on *
-> to test identified by 'test123'
-> ;
Query OK, 0 rows affected (0.00 sec)

mysql> quit
Bye
bash-2.05a$ /usr/local/bin/mysql -u test -p
Enter password:
ERROR 1045: Access denied for user: 'test@localhost' (Using password: YES)
bash-2.05a$

Anyone know what's going on? I've googled to no avail.

Error: 1045 (28000)
I have just installed mysql 4.1.14 on windows xp professional

I am trying to test it by using the mysql test command from with the command prompt.

However I get the following message:

ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO)

ERROR 1045 (28000)
I insalled mysql on my Linux Enterprise AS platform.
When I contact the mysql Server:

[root@LinuxServer usr]# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

what's the rong ?

ERROR 1044 And 1045
I have a curious problem with the ERROR 1044 and 1045:

-system: OS X 10.4.3 (bash shell)
-bash schell prompt: /~ kssun$
-I have set passwd to 'kssun'
-I set path: PATH=${PATH}:/usr/local/mysql/bin

- symptom 1
when I type mysql (without passwd), I enter mysql prog with following
greeting msg:
---------------------------------------------------------------------------------------------
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 56 to server version: 5.0.17-standard

Type 'help;' or 'h' for help. Type 'c' to clear the buffer.

mysql>
---------------------------------------------------------------------------------------------------

But when I try to create database, I get ERROR 1044:
----------------------------------
mysql> create database hi;
ERROR 1044 (42000): Access denied for user ''@'localhost' to database
'hi'
---------------------------------

for information:
-------------------------------------------
mysql> select user();
+-----------------+
| user() |
+-----------------+
| kssun@localhost |
+-----------------+
1 row in set (0.00 sec)
------------------------------------------------------

-Symptom 2
I try then to login with -u option, here are the results:

(1) login as kssun w/o passwd
successed as like login w/o user name, ERROR 1044 for create database,
select user() show kssun@localhost

(2) login as kssun with passwd
failed, ERROR 1045, however I typed the passwd that I set for bash
shell
-------------------------------------------------------------------
ras75-3-82-226-221-2:~ kssun$ mysql -u kssun -p
Enter password:
ERROR 1045 (28000): Access denied for user 'kssun'@'localhost' (using
password: YES)
---------------------------------------------------------------

(3) login as root (w/o passwd)
successed to create dababase without any difficulty and user become:
----------------------------------
mysql> select user();
+----------------+
| user() |
+----------------+
| root@localhost |
+----------------+

Would someone have un idea of this mysterious situation?

Error 1045 For New XP Install
I'm unable to make a connection using MySQL Administrator with a brand new install for xp. I get an access denied to "ODBC@localhost". I tried pinging and it pings.
I tried copying the my.ini file to Windows.

And I see that this is a common issue for newbie's like myself.  I've used Mysql before but have never installed it.

MySql Error 1045
I cannot enter with the user root, nor with another user.
this is an error? they have algun procedure to correct it?
I already tries several things that find in Internet but did not work.

Connection Error Err Nr 1045
I am trying to set up MySQL 4.1 on windows 2003 web server. I have installed mysql and when configuring i get the Err Nr 1045 Access denied for user root@local host (using password: No) when trying to apply the security settings. I have running a linksys rooter. I have configured the rooter to allow access to port 3306 and forwarded to the web server.

MySQL Error Nr. 1045 When I Log In . . . ? ? ? ?
The Installation was complet succesfully and when i opened the WinMyAdmin for first time it asked me for user name and password.

The user name and password that i gave are :

username : admin
password : 18922981

Now that i'm trying to log in to mySQL server with the preview pssword and username i'm gettin the "MySQL Error Nr. 1045 " error code . . .

But if i try to login as "root" with empty password then i getting full access to mySQL server.

How can i get the same permissions either with the username and password that i gave at the first login in mySQL server?

Mysqldump: Got Error: 1045
I am trying to get Mysqldump to work on a Mysql database for a new customer I have inherited. I am not too familiar with MySQL, but I do know their whole organization hinges on this one database and it is not gettting backed up. It is running in a Windows 2000 Server environment.

From the c:mysqlin fold I ran the following command:

mysqldump --opt -u 2005golfit@localhost -p "golfit 2005" > backup.s
ql

When I was prompted for the password I entered the password from the Navicat 'Manage Users' where the access for all the users is defined.I get returned the following error:

mysqldump: Got error: 1045: Access denied for user: '2005golfit@localhost@localhost' (Using password: YES) when trying to connect

Would the configuration file have the right user / password for this command and where would I find the config file?

Can I use Mysqldump while the mysql-max-nt service is still running?

One other question that might me related to this error, can I get mysqldump to work in I come in remotely to Windows 2000 Server using Terminal Server? It just occured to me that when I start a second session on Windows 2000 Server, that does not mean another instance of mysql-max-nt starts, correct?

Install Error 1045
I have previously installed MySql and uninstalled it. Now when I try to install it again I get Error 1045 during the installation process. I has some waffle about firewalls which I turned off. Also it talks about problems caused by previous installations and using the same root password... which I can't remeber. Is there any way of resetting this? Without reinstalling windows..?

ERROR 1045 Using -u -p With Correct Password
I'm facing a strange problem on a freshly installed Debian.

I defined passwords for root and several others users I created.

When I try to connect using the command :

mysql -u root -prootpassword

I receive ERROR 1045 Access Denied for user root@localhost using password=YES

but when connecting using

mysql -u root -p and typing the password when asked for, it connects without any problem ...

This is the same with mysqldump, so I can't automate backups ..

The problem appears with each and every user, whatever their rights

PHPMyAdmin works perfectly, if needed.

Any idea ?

ERROR 1045: Access Denied For User
Situation:
One common MySQL database server on SuSE 9.1 with all updates.
Uses 'rinetd'. Has entries for the appropriate IP addresses of all
servers.
NOTE: If the appropirate entries are NOT in rinetd, the error message
is:
ERROR 2013: Lost connection to MySQL server during query

Using the exact same query from prompt on several clients (some are
SuSE 9.1, some are older Redhat systems, but none are configured
identically).
Example (upper case indicates private stuff):
mysql -uUSER -pPASSWORD -h MYSQLSERVER.TLD.COM -e "select * from
sometable" DATABASENAME
returns correct results on all but one server. On that one
problemmatic server (SuSE 9.1), the result is:
ERROR 1045: Access denied for user: 'USER@localhost' (Using password:
YES)

Has anyone had a similar problem? Ideas for the soluton? I feel like
there is a missing configuration option on the problematic client, or a
missing library, or something, but have not been able to isolate
anything.

Yes, the -u and -p are the SAME from each client (this is all inside
the firewall), so I don't see how this can be a user or privileges
problem.
Anyway, I've done 'flush privileges' and I've restarted the database
server (/etc/init.d/mysqld restart), even the server has rebooted since

ERROR 1045 When Testing In The Control Center
In the MySQL Control Center 0.9.4-beta, I right click the top level server name and choose the Edit option. Then I have entered a User Name and a Password in the General TAB. I then mark the option "Promt for Password" and hit the "Test" button.

I get a small window where I should enter the password for User name@Host name. I enter the password and hit the OK button. Now I get the error message "ERROR 1045; Access denied for user; 'User name@Host name' (Using password: YES)"

When looking in the Help menu, the Contents - F1 is not activated, so I can't get any online help.

I'm just wondering why the test for the password failed and why there are no online help in the consol?

Error 1045 OBDC@localhost ... Using Password YES
I posted a message earlier regarding denial of access into mysql
database - "Error 1045 Acess denied to user ODBC@localhost..Using
password YES". I've just came across a possible solution in mysql
manual, section:A.4.2 "How to Reset a Forgotten Root Password" where
it says:

# Take down the mysqld server by sending a kill (not kill -9) to the
mysqld
# server. The pid is stored in a `.pid' file, which is normally in
the MySQL
# database directory:
# shell> kill `cat /mysql-data-directory/hostname.pid`
# You must be either the Unix root user or the same user mysqld runs
as to do
# this.
# Restart mysqld with the --skip-grant-tables option.
# Set a new password with the mysqladmin password command:

This gist hasn't really helped me out, or I should perhaps say that I
can't figure out the steps the above info is suggesting. I'm using
windows 98 - incase OS info will be required for any analysis.

Does anyone know how exactly I can restart mysqld with
the---skip-grant-table option?

For clarity, I'd like to mention that I did not forget my password - I
simply could not acces mysql from the command prompt as usual with
c:mysqlin-root -p...Enter password ****, and so on!

I'm only trying this as a last resort - to get rid of the old password
so as to install a new one.

Authentication Trouble About Mysqldump: Error 1045
I got a quite strange problem when I tried to setup a database backup
shell. I put it this way:

"bin/mysqldump --opt --user=xxx --password=xxx DB > DB.bak"
However, error 1045 came to me to say "Access denied for user
'xxx'@'localhost' (using password: YES) when trying to connect".
None the less, I'm absolutely full of confidence on my correct username
and password, simply because if I do it this way:

"bin/mysqldump --opt --user=xxx DB > DB.bak",and input the same
password, everything goes well.
Could you please give me some suggestion concerning the issue?

Login Failure (error Code 1045)
I'm trying to connect to my MySQL database with OpenOffice.org Base. Unfortunately it isn't working. I created a new account with PHPMyAdmin.

I just use the OOo wizard to create a connection. While testing the connection I get the error code 1045. I checked the username and password, they are correct. But I still get the message "access denied for user username@localhost.localdomain".

There is no problem login in with PHP.

ERROR 1045 (28000) Access Denied
ERROR 1045 (28000) Access denied

Here is my problem:

I can connect to mysql using root user and password.
(both with phpMyAdmin and terminal command "shell>mysql -u root -p")

When I try to connect with another user, this error appear:
#1045: Access denied for user 'xxx'@'localhost' (using password: YES)

In the mysql table "user" I see all users with encrypted password.

Here's my conf:
MySQL 4.1.13a on Mac OS X Server 10.4

I've also installed phpMyAdmin 2.6.4-pl4 and php 5.0.4.

Error 1045: Access Denied For User
why each time I
try to access my database using:

c:mysqlininmysql -root -p

and afterwards:(i.e. after inputting my at the password prompt)

Enter Password: '******'

I get the following:

Error 1045: Access denied for user:
'ODBC@localhost'(Using password: YES)

This is rather confusing to me, as I'm pretty sure
that I had used the same password to pass through this
particular 'door' yesterday

my settings are in the following format:

mysql>SET PASSWORD FOR root@localhost=PASSWORD("******");
Query OK, 0 rows affected (0.00 sec)
mysql>SET PASSWORD FOR root@"%"=PASSWORD("******");
Query OK, 0 rows affected (0.00 sec)
mysql>FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)


Really the password that I'm using is exactly the same
one I had assigned to my root few days ago after
installing MySQL, PHP and APACHE successfuly, and which I have been
using without problem until this afternoon.

Mysql Error 1045 Access Denied
in dreamweaver when ever i try to connect i get the error message ysql error 1045 access denied for user root@localhost password "yes" i'm pretty sure i did this sql statement correctly to grant all use on the database
Mysql>GRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY 'mypassword';



MySQL Error 1045 Not Connecting Useing Password:yes
i have just finished setting up my ragnarok files and database but now i cant connect them because it says i get the right pass word but it fails on the applying security settings and i get: Error Nr. 1045 access denied for user 'root'@'localhost'(using password: Yes). i used root as the password but i just cant seem to get a connection.

ERROR 1045 (28000): Access Denied For User
All I want to do is load a simple txt file to a database.
I use the follwoign command:

mysql> LOAD DATA INFILE "30000lines.txt" INTO TABLE mytable;
and i get the following error:

ERROR 1045 (28000): Access denied for user 'userme'@'%' (using password: YES)

When I do a grant for teh tabel i get the following message: Code:

ERROR 1045 (28000): Access Denied For User 'root'@'localhost'
Using mySQL 4.1.22 on Linux, I got this error message suddenly this morning (it worked ok yesterday):
---------
[root@server]# /usr/local/mysql/bin/mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
----------

I created a '/root/root.sql' file:
--------
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('xxxxxx');
--------

And killed the process and restarted:
--------
[root@server ~]# /usr/local/mysql/bin/mysqld_safe --init-file=/root/root.sql &
[1] 2494
[root@server ~]# Starting mysqld daemon with databases from /usr/local/mysql/var
--------

But I get the same error message

In my '/usr/local/mysql/var/server.err' file there's no error message:
--
070220 07:03:40 mysqld started
070220 07:03:40 InnoDB: Started; log sequence number 0 3758734
/usr/local/mysql/libexec/mysqld: ready for connections.
Version: Ɗ.1.22' socket: '/tmp/mysql.sock' port: 3306 Source distribution
-------

ERROR 1045 (28000): Access Denied For User 'root'@'localhost'
Using mySQL 4.1.22 on Linux, I got this error message suddenly this morning (it worked ok yesterday):

---------
[root@server]# /usr/local/mysql/bin/mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
----------

I created a '/root/root.sql' file:
--------
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('xxxxxx');
--------

And killed the process and restarted:
--------
[root@server ~]# /usr/local/mysql/bin/mysqld_safe --init-file=/root/root.sql &
[1] 2494
[root@server ~]# Starting mysqld daemon with databases from /usr/local/mysql/var
--------

But I get the same error message :(

In my '/usr/local/mysql/var/server.err' file there's no error message:
--
070220 07:03:40 mysqld started
070220 07:03:40 InnoDB: Started; log sequence number 0 3758734
/usr/local/mysql/libexec/mysqld: ready for connections.
Version: '4.1.22' socket: '/tmp/mysql.sock' port: 3306 Source distribution
-------

What am I doing wrong?

Mysqldump: Got Error: 1045: Access Denied For User: 'bonosa@localhost'
On windows I had no problem doing this:

mysqldump --opt pmadb1 > testfile;

but on linux I get:

fromB> mysqldump --opt pmadb1 > may16

mysqldump: Got error: 1045: Access denied for user: 'bonosa@localhost' (Using password: NO) when trying to connect

What do I need to do here to get it to work?

ERROR 1045 (28000): Access Denied For User 'root'@'localhost'
I'm attempting to install Bugzilla.

I'm stuck because the last two modules that are required in Perl won't run. The apparent reason is that the root login fails.

I tried it manually to, and here's what I get:

[root@10 bugzilla-2.18.3]# mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

I created the database and login via a Perl module called template:

/opt/ActivePerl-5.8/bin/perl-static -MCPAN -e 'install "Template"'

ERROR 1045 (28000): Access Denied For User 'root'@'localhost'
Using mySQL 4.1.22 on Linux, I got this error message suddenly this morning (it worked ok yesterday):
---------
[root@server]# /usr/local/mysql/bin/mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
----------

I created a '/root/root.sql' file:
--------
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('xxxxxx');
--------

And killed the process and restarted:
--------
[root@server ~]# /usr/local/mysql/bin/mysqld_safe --init-file=/root/root.sql &
[1] 2494
[root@server ~]# Starting mysqld daemon with databases from /usr/local/mysql/var
--------

But I get the same error message :(

In my '/usr/local/mysql/var/server.err' file there's no error message:
--
070220 07:03:40  mysqld started
070220 07:03:40  InnoDB: Started; log sequence number 0 3758734
/usr/local/mysql/libexec/mysqld: ready for connections.
Version: '4.1.22'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
-------

What am I doing wrong?

Getting Error : ERROR 1045
At the time of installation i got some options to choose form they were

1)NO Configuration
2)For a website or so like
3)localhost
4)and one more that i dont remenber

Then i clicked on the second option

Next screen shows message

================================================== ====
news and mail messages (following the username and @ sign)

This name will be used by other programs besides Postfix; it should be the single, full domain name(FQDN) form which mail will appear to orignate. Code:

ERROR 1045: Access Denied For User: '"root"@localhost' (Using Password: YES)
I have been working on this for three days (about 16 hours) to no avail. I have root access on a dedicated server running whm/cpanel on Redhat 9. I have followed every instruction from mysql.com as well as every suggestion I've been able to find.

These are the two errors I bounce between:

ERROR 1045: Access denied for user: '"root"@localhost' (Using password: YES)

and

ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

I'm out of ideas.

Phpmyadmin 1045 Errors
I have WAMP5 and everything is smooth with the php integration with apache etc. however when i access phpmyadmin i get this: MySQL said:

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

however WAMP5 also came with Sqllitemanager which works absolutely fine!

Ive looked at the config file and the username reads as root and the password is blank but i cannot access the database...the command line of mySQL requests a password so i cant do anything there either!

1045 Connection Problem
I've got a bit of a bizarre one for you
I'm using a LAMP system and last night I deleted one of my databases and inserted some data into another database but today - nothing too special.

But today none of my sites (powered by Mambo, Wordpress, MiniBB and PhpBB) which use a variety of other databases on the same server want to connect to the server - when I try to connect via a telnet shell with mysql -u myusername -p mypassword I am told that an erro 1045 has occurred and myusername@numericalIPaddress cannot connect to server, but I HAVE NOT changed any of the hostname/db username/passwords or other database names nor have I changed any of the server or website configuration files.

But and heres the strange thing - if I use my hosts control panel which uses PhpMyadmin - it CAN connect (this time it links through myUsername@something.whatever.com)

1045 Access Denies / PhpMyAdmin
Hope someone can help with this - it was working yesterday, so I know it's mostly all set up and working, but have just managed to screw some permissions somewhere.

Basically I have (or had) a working database / website all working - it's on a local network rather than external hosting, using phpMyAdmin.

I started setting up a new site yesterday, and - having not done it for a while - was having to rummage around checking the set up etc.

ie the :

$hostname_connDevelopments = "localhost";
$database_connDevelopments = "developments";
$username_connDevelopments = "root";
$password_connDevelopments = "password";
Where I created the password in phpMyAdmin.

When I finished yesterday I had managed to get a new website set up in Dreamweaver, a new database set up in phpMyAdmin, and the connection to database from DW. Database connects successfully in DW, pages uploaded can be browsed to correctly, so it all looks all present and correct.

However, when I tried to browse to the old site this morning, I'm getting the following error in my browser :

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'root'@'localhost' (using password: YES) in C:wampwwwPhotolibraryConnectionsPhotolibrary.php on line 9

Fatal error: Access denied for user 'root'@'localhost' (using password: YES) in C:wampwwwPhotolibraryConnectionsPhotolibrary.php on line 9

I've managed to fix this, by changing the password in the Photolibrary.php to the same as the one I created in the connDevelopments.php. (I originally thought they needed to be different.)

However, the other problem is that I can no longer access phpMyAdmin, as I get the following error :

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.

#1045 - Access denied for user 'root'@'localhost' (using password: YES)

I'm presuming I changed a setting for access to phpMyAdmin yesterday when I thought I was creating a password for DW to connect to the database, rather than for me to log in to phpMyAdmin. Unhelpfully it just goes straight to that, so I don't have any opportunity to enter a password.

Presumably I need to change something in my config.inc.php file - I've looked for anything to do with passwords, ie changing 'using password' from yes back to no, but with no joy.

1045 Access Denied For User
I made a db through Cpanel as usual (usr.pw-all privileges).

If I go now to phpmyadmin I see the db but don't see the users. I only see "No privileges" in red, although I made a user to the db in a correct manner.

when I want to make contact with the db through dreamweaver he gives the error: 1045 denied for user to access.

1045 Access Denied - Which Userid And Password
The current situation entails a remote service running some variant of Unix and Mysql 4_0_27. I am trying to connect from a W2K system running Dreamweaver MX. I am using FTP as the connection mechanism. I can connect to remote system using the control panel of the remote service using myuserid and mypassword.

I can use phpadmin to connect to mysql using the same userid and password. I can connect to the remote system using Dreamweaver; however, I cannot create a connection. I get the dreaded 1045 access denied message "1045 Access Denied for myuserid (Using Password YES)" using the same userid and password as I used with phpadmin. What I need is a detailed description of exactly what is happening. I don't believe the userid and password are incorrect.

Create Table Error. #1064 - You Have An Error In Your SQL Syntax; Check The Manual That Corresponds
I have been trying to create two tables with the SQL below. I have the SQL in file and tried to import it to PhpMysqlAdmin in my control panel. The wierd thing is that the first table gets created while the second one is not created and error is thrown instead. The error message is

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ....

ERROR 1010 (HY000): Error Dropping Database (can't Rmdir '.a', Errno: 41)
I am using MySql 5.0.21-community Edition for widows XP. I can successfully connect to the MySql Server as a root and create a database 'a'. Which creates a directory 'a' under my mysqldata directory with a single file 'db.opt'. Now dropping the database 'a' gives the following error

ERROR 1010 (HY000): Error dropping database (can't rmdir '.a', errno: 41)

The directory mysqldataa does not have any other files or hidden files. The commands I have executed are:

------------
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 6 to server version: 5.0.21-community-log

Type 'help;' or 'h' for help. Type 'c' to clear the buffer.

mysql> create database a;
Query OK, 1 row affected (0.09 sec)

mysql> drop database a;
ERROR 1010 (HY000): Error dropping database (can't rmdir '.a', errno: 41)
mysql>
---------

I have searched web, lists, bugs and could not find any.

Error 1064 Restoring PhpMyAdmin Dump (error On Foreign Key Clause)
I am getting an Error 1064 when I try to restore a dump I created using phpMyAdmin from an online database into a newly created database on my home system.

The error points to a section of the dump file that adds foreign key constraints.

I've already disabled the foreign key checks. The problem seems to occur only with tables in which I have more than one foreign key.

The dump file foreign key constraint section looks very odd to me because multiple ALTER TABLE statements to add foreign keys are separated only by commas, not semi-colons, and even weirder, each time a new statement to add a foreign key constraint is created, it is then repeated in the creation of the next foreign key constraint. Code:

ERROR 1016 (00000):Can't Open File: 'agent.InnoDB'. (error: 1)
i copied database directory from a windows system to my linux system.
i am able to open few files (using select *...) but for other files i get the above error...

I Get This Error Error: Libmysqlclient.so.10: Cannot Open Shared Object File:
I have moced an app from one server to another and I am testinga python module that will extract lead from a database and send them to our email vendor. However, In running the script as a test, I get this error:

Import Error: libmysqlclient.so.10: cannot open shared object file:

What doe sit mean and is there an easy way to fix it?

Got Error 134 From Storage Engine. Error Number 1030
Sometimes when I execute a query on a database, I get the following error from MySQL:
Got error 134 from storage engine. Error number 1030
Does anyone know what this mean?
What does error 1030 mean and can I get other values for error 134?
I heard people saying that this is an indication that a table got corrupted, but I want to hear more about this problem.



Mysqldump, Getting Error Error #1016, Can't Open *.ibd File
So we have a MySQL database that suddenly started reporting "can't
open *.ibd file" errors on InnoDB tables in phpMyAdmin. (MyISAM are
fine). To recover the data is all I want at this point -- so one
suggestion I came across was to try and dump using mysqldump like
this:

mysqldump -u root -p mydatabase databasedump.sql
Enter password: *******************
mysqldump: Got error: 1016: Can't open file: 'access.ibd' (errno: 1)
when using
LOCK TABLES

Is there a way to run this dump so that it will export the database
tables and ignore the *.ibd error? I had read that removing *.frm
files might help, but our testing suggests that it isn't effective
either.

New Error 1146 Error And Behavior With Mysqlcc + Mysql-5.0.15
I have just switched from mysql-4.1.14 on a FreeBSD-4.11 box to
mysql-5.0.15 on a FreeBSD-6.0 box. In both environments I use mysqlcc
to select, insert and update tables. On the 4.1.14 machine, using
mysqlcc, I could double click in a field and change its value; only if
I had selected all the fields. I couls not do this if I had selected a
subset of the fields. The number of rows returned didn't matter, as
long as I did "select * from..." I could directly edit a field value in
mysqlcc.

Now, under mysql-5.0.15, I cannot edit fields at all, whether I "select
* from..." or not. And every select I do gives me this error in
mysqlcc's explain pane:

[mymachine] ERROR 1146: Table 'tablename.1' doesn't exist

Well it certainly does exist, and I can edit its values using the mysql
client or phpmyadmin (ugh, clumsy). There are lots of posts on the net
about error 1146 and various apps and various versions of mysql and
even mysqlcc. mysqlcc had this problem with an earlier version of mysql
than 5.x but this supposedly was fixed with release 0.94.

Can anyone give me some insight on what's going on here, or a
workaround? Or another gui client that works as well as mysqlcc?


Copyright © 2005-08 www.BigResource.com, All rights reserved