Ошибка 1045 навикат

Error 1044/1045

Apply Navicat Version No. : All

MySQL access control would involve two stages:

  1. The server checks whether your desktop (host address or IP address) is allowed to connect.
  2. Assuming you can connect, the server checks each request you issue to see whether you have sufficient privileges to perform it. For example, Create table privilege, Drop table privilege or Alter table privilege.

MySQL server uses the User, Db, and Host tables in the MySQL database during both stages of access control.

If your remote server supports SSH connection, your Navicat will be able to connect with remote MySQL databases through SSH tunnel without making any changes to existing MySQL privileges setting. The major benefit of SSH tunneling is that it allows us to connect to a MySQL server from behind a firewall when the MySQL server port is blocked.

Access denied for user ‘root’@’localhost’ (using password: YES)

Установил MySQL 5.0.37 на Win2000.

Пробовал приконнектится к базе:

>mysql — uroot — p

но выдало:

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

Что делать?

EMS SQL Manager 2005 for MySQL 3.7.7.1

Комментарий модератора:

Re: Access denied for user ‘root’@’localhost’ (using password: YES)

Re: Access denied for user ‘root’@’localhost’ (using password: YES)

Re: Access denied for user ‘root’@’localhost’ (using password: YES)

Re: Access denied for user ‘root’@’localhost’ (using password: YES)

Re: Access denied for user ‘root’@’localhost’ (using password: YES)

Re: Access denied for user ‘root’@’localhost’ (using password: YES)

Re: Access denied for user ‘root’@’localhost’ (using password: YES)

Приветик, всем!

Может кто-то сталкивался с такой проблемкой.

На своем компе импорт csv файла работает просто замечательно. Как непосредственно через phpmyAdmin, так и через скрирт, где использую следующий запрос к базе данных:

$query = «LOAD DATA INFILE ’12.csv’ INTO TABLE `part` FIELDS TERMINATED BY ‘;'» ;

Access denied for user ‘admin’@’localhost’ (using password: YES)

Создание подключения

1. Распаковать сборку в удобное место (например c:\server\)

2. После того, как всё распаковано заходим в наш c:\server\ далее в папку home

3. Там будет папка с названием «ваш_ip», «127.0.01» или с каким-то подобным

4. Переименовываем эту папку на:

а) 127.0.0.1 — если хотите поиграть одному

б) Локальный ip — если хотите играть по локальной сети с друзьями или другими игроками с сети вашего провайдера. ( как узнать? Пуск -> Панель управления -> Сетевые подключения -> Правой кнопкой мыши на подключение по Локальной сети -> Состояние -> Поддержка )

в) Внешний ip — если хотите, чтобы к вашему серверу могли подключиться игроки со всего земного шара. ( узнать можно на http://2ip. ru/ )

5. Теперь заходим в папку c:\mangos\denwer и запускаем фаил Run. exe ( включится сайт и mysql )

6. Теперь нам нужно установить программу Navicat — скачать

7. После того как вы скачали и установили Navicat, делаем всё как показано ниже:

Если не подходит логин или пароль.

Логин и пароль хранятся в файле:

mangosd. conf

Открываем первый файл mangosd. conf с помощью блакнота. В данном файле проставляется все или практически все, к примеру рейты и тому подобное. Нам нужно в нем узнать только логин и пароль для этого ищем три строчки:

LoginDatabaseInfo = «127.0.0.1;3306; mangos;mangos ;realmd»

WorldDatabaseInfo = «127.0.0.1;3306; mangos;mangos ;mangos»

CharacterDatabaseInfo = «127.0.0.1;3306; mangos;mangos ;characters»

Найдя их мы видим такую картину:

ForumMaxi — Сообщество администраторов онлайн игр

Не Конектит К Базе В Navicat Mysql 8. Помо.

    Lis911 30 Jul 2013

    После ввода ключа активации в Navicat for MySQL 8. Стало не возможным коннектится к базе сервера. вот что выдает

    2003 — Can’t connect to MySQL server on localhost (10061)

      Lis911 30 Jul 2013

        Lis911 30 Jul 2013

          vector 30 Jul 2013

          После ввода ключа активации в Navicat for MySQL 8. Стало не возможным коннектится к базе сервера. вот что выдает

          помогите с меня спасибка)

          Ты пароль скорей всего вводил не верно.

            SteveDogs 30 Jul 2013

            если паролей не верный то 1045 ошибка.

              Sanet 27 Jun 2014

              После ввода ключа активации в Navicat for MySQL 8. Стало не возможным коннектится к базе сервера. вот что выдает

              помогите с меня спасибка)

              Таже ошибка. Ток вчера все работало когда установил. Выключил все и на след день запускаю а оно ошибку дает такую.

              1045-Access denied for user ‘root’@’localhost’

              • 1. A 1045 error occurs when using Navicat for MySQL to connect to the database
              • Two, the solution
                • 1. Right-click the previously connected database
                • 2. Select connection properties…
                • 3. Fill in the latest password—>OK

              1. A 1045 error occurs when using Navicat for MySQL to connect to the database

              Reason: One of the reasons for this problem is the permission problem, which means that your computer may not have permission to access the mysql database. It may be caused by changing the MySQL connection password

              Two, the solution

              1. Right-click the previously connected database

              2. Select connection properties…

              3. Fill in the latest password -> OK

              Описание проблемы:

              1045-Access denied for user ‘root’@’localhost’(using password: YES)

              Методы:

              Операционная система серии CentOS

              Примечание. Обязательно перезапустите службу MySQL или перезапустите сервер.

              1.Для индивидуальных пользователей

              # mysql -uroot -p
              MySQL [(none)]> предоставьте все привилегии для db_name. * для db_user @ ’%’, обозначенного как «db_pass»; #вторизуйте оператор, обратите особое внимание на точку с запятой
              MySQL [(none)]> flush privileges;
              MySQL [(none)]> exit; # выйдите из консоли базы данных, обратите особое внимание на точку с запятой

              Перезапустите MYSQL: перезапустите службу mysqld

              2, для общей учетной записи root, то есть одной учетной записи для управления всеми базами данных

              grant all privileges on * to root@’%’ identified by ‘dsfdfggdg41;

              Quote:https://oneinstack.com/docs/lnmpstack-image-guide/ 

              Как настроить удаленное соединение MySQL  >> 3. Авторизация базы данных

              Ошибка доступа к базе данных (Navicat MySQL)

              IN[sa]NE

              IN[sa]NE

              Вобщем задам вопрос который не раз уже задавался. При коннекте к базе даёт ошибку — 1045 — Access denied for user ‘root’@localhost’ (use password: YES)
              Уже перечитал много подобных тем. Но вот в чём водвох
              Даже создавая подключение с параметрами
              localhost
              3306
              root

              у меня тоже выдаёт ошибку

              то есть не подключается даже к самому себе, не говоря уже о сборке

              Сообщение # 1 написано 31.10.2013 в 10:32

              grasicco

              grasicco

              удали навикат и скачай mysql yog

              Сообщение # 2 написано 31.10.2013 в 11:00

              Paul_Hell

              Paul_Hell

              А толку что он переустановит эдентичные программы? Запусти в mysql консоль и попробуй зайти с паролем и без и отпиши что дает… а дальше будем решать..

              Сообщение # 3 написано 31.10.2013 в 11:32

              _Ya_

              _Ya_

              Явно проблема заключается в логине и пароле. Если сборка скачана, то предлагаю просто взять и уточнить правильные данные. Узнать их можно в конфиге worldserver.conf / mangosd.conf как то так … ) Если все таки нет и сборка пренадлежит вам, тогда все дело в MySQL.

              _Ya_

              Сообщение # 4 написано 31.10.2013 в 12:42

              Paul_Hell

              Paul_Hell

              Скорее всего он просто не правильно водит пароль..

              Сообщение # 5 написано 31.10.2013 в 13:00

              PaulDousen

              PaulDousen

              Где находится база и откуда вы к ней подключаетесь? Судя по всему к базе закрыт доступ извне.

              Сообщение # 6 написано 31.10.2013 в 14:56

              Article table of contents

                • navicat connected to MySQL error: 1045 – Access denied for user ‘root’@’localhost’ (using password: YES)
                  • question:
                  • reason:
                  • solution:
                    • If you forget the database password, follow the steps, if not, skip 123
                    • 1. Find the MySQL configuration file my.ini
                    • 2. Add skip-grant-tables under the entry of **[mysqld] to save and exit
                    • 3. Restart mysql
                    • 4. Enter the MySQL client
                    • 5. Enter the MySQL database and reset the password
                    • 6. Delete the content of step 2, then restart
                    • 7. Test

              Question:

              I haven’t used the database for a long time. I need to use it for a project recently, but it is time to use Navicat to connect to the database and report an error: 1045 – Access denied for user ‘root’@’localhost’ (using password: YES)

              image-20211203170511244

              Reason:

              Because of the characteristics of MySQL8, the login of the root user is closed, and the new version of the official website has an introduction

              Solution:

              If you forget the database password, follow the steps, if not, skip 123

              This file is in the MySQL installation directory

              If you forget where to install it, you can find the installation directory through the command line

              “win” + "r" Enter cmd to open the command line
              mysql -u root -p Enter the password to open the MySQL client
              show variables like "%char% View the installation path
              

              image-20211203172152442

              1. Find the MySQL configuration file my.ini

              image-20211203172309744

              2. Add skip-grant-tables under **[mysqld] entry to save and exit

              image-20211203172353389

              3. Restart mysql

              Type in the command line

              Stop: net stop mysql
              
              Start: net start mysql
              

              image-20211203172736212

              4. Enter MySQL client

              At this time, enter mysql -u root -p in cmd to log in without a password. When password: appears, press Enter to enter.

              5. Enter the MySQL database and reset the password

              #Enter the database
              use mysql
              #reset password
              update mysql.user set authentication_string=password('root') where user='root'
              # refresh the database
              flush mysql
              #quit
              quit
              

              image-20211203173654721

              6. Delete the content of step 2, then restart

              7.Test

              Edit connection, enter new password

              image-20211203174322561

              image-20211203174240133

              Let me introduce myself first. The editor graduated from Shanghai Jiaotong University in 2013. I worked in a small company, went to big factories such as Huawei and OPPO, and joined Ali in 2018, until now. I know that most junior and intermediate java engineers want to upgrade their skills, they often need to explore their own growth or sign up to study, but for training institutions, the tuition fee is nearly 10,000 yuan, which is really stressful. Self-learning that is not systematic is very inefficient and lengthy, and it is easy to hit the ceiling and the technology stops. Therefore, I collected a “full set of learning materials for java development” for everyone. The original intention is very simple. I hope to help friends who want to learn by themselves but don’t know where to start, and at the same time reduce everyone’s burden. Add the business card below to get a full set of learning materials

              Понравилась статья? Поделить с друзьями:
            • Ошибка 1045 ssangyong
            • Ошибка 1035 фанук
            • Ошибка 1044 эур калина
            • Ошибка 1035 на айфоне автоответчик
            • Ошибка 1044 phpmyadmin