Questions tagged [mysql-error-1045]

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

Example:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
179 questions
0
votes
0 answers

mysql error : ERROR 1045 (28000): Access denied for user

i have installed freshly mysql server on the RHEL server and is started properly. when i am running command : [root@ip-172-31-38-162 ec2-user]# mysql -u root -p Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using…
user2315104
  • 1,304
  • 2
  • 19
  • 34
0
votes
2 answers

Mysql configuration problem

I have being trying since last night. At first it was working but this morning again its not working. I am installing mysql version 5.0 on vista machine. when i try to configure its says that: The security settings could not be applied to the…
jbcedge
  • 16,749
  • 26
  • 64
  • 88
0
votes
3 answers

MySQL Server on Windows XP SP3 Installation

I am currently trying to install MySQL Server 5.5 on Windows XP Professional. The only firewall on the computer is the Windows Firewall which I have disabled. I am going through the MySQL Server configuration and it completes the starting service…
Boardy
  • 31,944
  • 94
  • 238
  • 411
0
votes
1 answer

mysqldump says invalid db and results Got error: 1045:

Using the following script to backup a database (not all, just one of them). #!/usr/bin/php
D.Davis
  • 15
  • 7
0
votes
1 answer

Mysql "access denied for user" error?

I have just added a new database and imported alot of backed up data to it because of a malfunction in the previous database. I use php and have my own Ubuntu server. I use phpmyadmin, and have set all privileges to the user. I am positive the…
user188962
0
votes
1 answer

Cannot log in to the MySQL server (XAMPP)

I am having an issue with logging into phpMyAdmin, specifically when I log in with the root user and the correct password it gives me this error: Cannot log in to the MySQL server When I log in using the 'pma' user without password it works, but it…
0
votes
2 answers

How do I run PHP in a local browser using Ubuntu

I'm getting this error when I attempt to run phpMyAdmin from XAMPP. There was an existing mysql installation on this machine previous to my installation and running of XAMPP. When I start XAMPP both mysql and apache2 start up successfully. I can…
0
votes
1 answer

Why won't my PHP file connect to mysql?

I'm using OS X El Capitan. Mysql is running and I am able to add tables using the mysql command-line tool. When I try to connect to the database from my PHP file I get a 1045 error. Below is the code: $dbc = mysqli_connect('127.0.0.1', 'root',…
Andrew Trigg
  • 49
  • 1
  • 7
0
votes
1 answer

Error 1045(2800)

I am currently trying to configure Zabbix on a Ubuntu. I downloaded the appliance version, as I am not familiar with Ubuntu and the appliance version, makes it easier to install. However, I am currently experiencing this error code: Error…
Shubs
  • 1
  • 2
0
votes
2 answers

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

I'm trying to copy a live WordPress site to my local server. I went to import the database from the live site through MAMP, and I received an error message when trying to connect to phpMyAdmin: #1045 - Access denied for user 'root'@'localhost'…
bibliofille
  • 11
  • 1
  • 6
0
votes
3 answers

cant undrstand the error :Access denied for user 'Pratik'@'localhost' (using password: NO) got in php

firstly i just clearify the problem. i am testing the page of login of my website. so i have two login files for testing that both contain same code but both are save in different place named "signin.php" & "login.php" resp. the problem is when i…
Pratik Gujarathi
  • 679
  • 10
  • 21
  • 36
0
votes
1 answer

Can't connect to mysql via CLI, but phpmyadmin works just fine

I'm at my wits end trying to solve this issue. I can log into the root account (or any other account for that matter) just fine in PHPmyadmin. Howerver whenever I try to log in via the command line, I get the following error: ERROR 1045 (28000):…
Caleb
  • 57
  • 6
0
votes
1 answer

MySQL access denied error but everything is correct!

Here's my code and…
Sam
  • 5,302
  • 7
  • 29
  • 57
0
votes
2 answers

MAMP Mysql in Terminal

I've installed MAMP on my MacBook PRO Leopard OS. Phpmyadmin is working fine but I would like to use the terminal or bash to practice MySQL. I seem to have a problem with it. When I use: mysql -h localhost -u root -p" / "mysql -h localhost -u…
user365829
  • 33
  • 6
0
votes
3 answers

error during mysql db connection in localhost

when I am trying to connect mySql data base from cmd it giving some error like - c:\xampp\mysql\bin>mysqladmin -u root password 123123 mysqladmin: connect to server at localhost failed error:Access denied for user root@localhost (using password :…
nectar
  • 8,567
  • 34
  • 76
  • 100
1 2 3
11
12