<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум PHP-MyAdmin.RU &mdash; Проблемы при смене пароля Mysql (ошибка 1045)]]></title>
	<link rel="self" href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=2825&amp;type=atom" />
	<updated>2013-02-21T16:16:28Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.php-myadmin.ru/viewtopic.php?id=2825</id>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы при смене пароля Mysql (ошибка 1045)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=22373#p22373" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexander-Hoak сказал:</cite><blockquote><p>using password: NO</p></blockquote></div><p>Это означает, что пароль в конфигурационном файле задан для root пустой. Возможно вы какой-то не тот файл редактируете.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2013-02-21T16:16:28Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=22373#p22373</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы при смене пароля Mysql (ошибка 1045)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=22372#p22372" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Hanut сказал:</cite><blockquote><div class="quotebox"><cite>alexander-Hoak сказал:</cite><blockquote><p>А модуль всё равно ругается</p></blockquote></div><p>Как? Что пишет?</p></blockquote></div><p>Could not connect: Access denied for user &#039;root&#039;@&#039;localhost&#039; (using password: NO)</p>]]></content>
			<author>
				<name><![CDATA[alexander-Hoak]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=5016</uri>
			</author>
			<updated>2013-02-21T14:00:18Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=22372#p22372</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы при смене пароля Mysql (ошибка 1045)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=22371#p22371" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexander-Hoak сказал:</cite><blockquote><p>А модуль всё равно ругается</p></blockquote></div><p>Как? Что пишет?</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2013-02-21T13:53:27Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=22371#p22371</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы при смене пароля Mysql (ошибка 1045)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=22370#p22370" />
			<content type="html"><![CDATA[<p>Да в том то и дело, что после очищения куки всё заработало, в том смысле, что появились привилегии. А вот некоторые дополнения в Joomla не работают, хотя я прописал модулю доступ<br /></p><div class="codebox"><pre><code> *  MySQL Database parameters
 */
$mysqlhost = &#039;localhost&#039;;
$mysqldb = &#039;lawrus&#039;;
$mysqllogin = &#039;root&#039;;
$mysqlpass = &#039;250689&#039;;
$mysqlprefix = &quot;&quot;;

$dbencoding = &quot;utf8&quot;;
$force_charset_in_connection = true;</code></pre></div><p>А модуль всё равно ругается</p>]]></content>
			<author>
				<name><![CDATA[alexander-Hoak]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=5016</uri>
			</author>
			<updated>2013-02-21T13:51:34Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=22370#p22370</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы при смене пароля Mysql (ошибка 1045)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=22369#p22369" />
			<content type="html"><![CDATA[<p>да в config.php модуля который не работает я прописал путь до базы с паролем и логином, но почему то он не хочет соеденять</p>]]></content>
			<author>
				<name><![CDATA[alexander-Hoak]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=5016</uri>
			</author>
			<updated>2013-02-21T13:22:47Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=22369#p22369</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы при смене пароля Mysql (ошибка 1045)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=22368#p22368" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>$cfg[&#039;Servers&#039;][$i][&#039;user&#039;] = &#039;root&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;password&#039;] = &#039;250689&#039;;
/* User used to manipulate with storage */
 $cfg[&#039;Servers&#039;][$i][&#039;controlhost&#039;] = &#039;localhost&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;controluser&#039;] = &#039;root&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;controlpass&#039;] = &#039;250689&#039;; // Здесь тоже пароль root</code></pre></div><div class="quotebox"><cite>alexander-Hoak сказал:</cite><blockquote><p>Но к сожалению в PhpMyadmin пункта - Привилегии не появилось.</p></blockquote></div><p>Куки браузера очищали? MySQL перезагружали?</p><div class="quotebox"><cite>alexander-Hoak сказал:</cite><blockquote><p>Could not connect: Access denied for user &#039;root&#039;@&#039;localhost&#039; (using password: NO)</p></blockquote></div><p>Это означает, что где-то еще в скрипте прописан пользователь root без пароля.</p><p>Если вы восстанавливали пользователя root, то он должен был заработать с указанным при восстановлением паролем с полными привилегиями.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2013-02-21T13:12:48Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=22368#p22368</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы при смене пароля Mysql (ошибка 1045)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=22367#p22367" />
			<content type="html"><![CDATA[<p>Сделав как вы сказали в Joomla в файле configuration.php поставил пароль такой же как и в config.inc.php<br /></p><div class="codebox"><pre><code>public $user = &#039;root&#039;;
public $password = &#039;250689&#039;;</code></pre></div><p>а в файле config.inc.php во 2 строчке убрал пароль, ведь его там не было, нужно было добавить те 2 строки, что вы сказали. Вот так он выглядит: <br /></p><div class="codebox"><pre><code> $cfg[&#039;Servers&#039;][$i][&#039;user&#039;] = &#039;root&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;password&#039;] = &#039;250689&#039;;
/* User used to manipulate with storage */
 $cfg[&#039;Servers&#039;][$i][&#039;controlhost&#039;] = &#039;localhost&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;controluser&#039;] = &#039;root&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;controlpass&#039;] = &#039;&#039;;</code></pre></div><p>Но в PhpMyadmin пункт - Привилегии появился.&nbsp; На сайт и в панель Joomla входит нормально, всё редактируется, правда исчезли некоторые модули, при попытке редактирования говорит: Could not connect: Access denied for user &#039;root&#039;@&#039;localhost&#039; (using password: NO). Из за чего это может быть?</p>]]></content>
			<author>
				<name><![CDATA[alexander-Hoak]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=5016</uri>
			</author>
			<updated>2013-02-21T12:54:58Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=22367#p22367</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы при смене пароля Mysql (ошибка 1045)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=22364#p22364" />
			<content type="html"><![CDATA[<p>Спасибо большое!! <img src="https://forum.php-myadmin.ru/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[alexander-Hoak]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=5016</uri>
			</author>
			<updated>2013-02-21T08:11:01Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=22364#p22364</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы при смене пароля Mysql (ошибка 1045)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=22363#p22363" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexander-Hoak сказал:</cite><blockquote><p>Теперь он заходит в PHPmyAdmin но там исчезла вкладка Привилегии и внизу написано: Ошибка при указании соединения для controluser в конфигурации.</p></blockquote></div><p>Для controluser и user указан один пароль для root? Если один, то сперва попробуйте перезапустить MySQL, а затем очистить куки браузера и попробовать зайти снова.</p><div class="quotebox"><cite>alexander-Hoak сказал:</cite><blockquote><p>А при попытке зайти на сайт пишит: Database connection error (2): Could not connect to MySQL.</p></blockquote></div><p>Проверьте какие данные указаны в конфигурационном файле сайта.</p><div class="quotebox"><cite>alexander-Hoak сказал:</cite><blockquote><p>Может быть нужно создать нового пользователя, но вкладка Привилегии исчезла, а именно там было создание пользователей?</p></blockquote></div><p>Это означает, что вы зашли под пользователе не имеющим полных привилегий, то есть не root.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2013-02-21T07:56:01Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=22363#p22363</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы при смене пароля Mysql (ошибка 1045)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=22362#p22362" />
			<content type="html"><![CDATA[<p>Спасибо, что подсказали. Но я к сожалению дурак, до того как вы это написали зачем то воспользовался руководством по сбросу пароля (в вашем посте). Сейчас сбросил снова с заменой на такой же 250689, и в config.inc.php тоже поставил его. Теперь он заходит в PHPmyAdmin но там исчезла вкладка Привилегии и внизу написано: Ошибка при указании соединения для controluser в конфигурации. <br />А при попытке зайти на сайт пишит: Database connection error (2): Could not connect to MySQL.<br />Может быть нужно создать нового пользователя, но вкладка Привилегии исчезла, а именно там было создание пользователей?</p>]]></content>
			<author>
				<name><![CDATA[alexander-Hoak]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=5016</uri>
			</author>
			<updated>2013-02-21T07:48:24Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=22362#p22362</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы при смене пароля Mysql (ошибка 1045)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=22361#p22361" />
			<content type="html"><![CDATA[<p>Добавьте в config.inc.php строки указывающие пароль для авторизации:<br /></p><div class="codebox"><pre><code>$cfg[&#039;Servers&#039;][$i][&#039;user&#039;] = &#039;root&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;password&#039;] = &#039;пароль&#039;;</code></pre></div><p>$cfg[&#039;Servers&#039;][$i][&#039;controluser&#039;] - здесь указывается пользователь для работы с таблицами расширений phpMyAdmin, обычно там указан отдельный пользователь, но иногда допустимо использовать root. Инструкция по установке phpMyAdmin находится здесь - <a href="http://php-myadmin.ru/learning/instrument-pma.html">http://php-myadmin.ru/learning/instrument-pma.html</a></p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2013-02-21T07:08:46Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=22361#p22361</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Проблемы при смене пароля Mysql (ошибка 1045)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=22360#p22360" />
			<content type="html"><![CDATA[<p>Здравствуйте. Работая с Joomla и сделав сайт,я решил указать пароль к root, указав пароль и рестартнув Denwer,я увидел надпись в панели PHPmyAdmin, что мол пороль к root не установлен и т.п. Я снова его поменял, после чего поставил его также в конфигурационный файл config.ink.php. После чего при заходе на сайт или с панели Денвера на PhpMyAdmin получаю такую ошибку: #1045 - Access denied for user &#039;root&#039;@&#039;localhost&#039; (using password: NO). Хотя я точно помню пароль и вроде в конфиг вписал. Прошу помочь мне советом, как можно восстановить пароль или сбросить его, просто сайте очень много информации, которую делал очень долго и нудно. Вот код config.ink.php:<br /></p><div class="codebox"><pre><code> &lt;?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * phpMyAdmin sample configuration, you can use it as base for
 * manual configuration. For easier setup you can use setup/
 *
 * All directives are explained in Documentation.html and on phpMyAdmin
 * wiki &lt;http://wiki.phpmyadmin.net&gt;.
 *
 * @package PhpMyAdmin
 */

/*
 * This is needed for cookie based authentication to encrypt password in
 * cookie
 */
$cfg[&#039;blowfish_secret&#039;] = &#039;a8b7c6d&#039;; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

/*
 * Servers configuration
 */
$i = 0;

/*
 * First server
 */
$i++;
/* Authentication type */
$cfg[&#039;Servers&#039;][$i][&#039;auth_type&#039;] = &#039;config&#039;;
/* Server parameters */
$cfg[&#039;Servers&#039;][$i][&#039;host&#039;] = &#039;127.0.0.1&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;connect_type&#039;] = &#039;tcp&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;compress&#039;] = false;
/* Select mysql if your server does not have mysqli */
$cfg[&#039;Servers&#039;][$i][&#039;extension&#039;] = &#039;mysqli&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;AllowNoPassword&#039;] = true;

/*
 * phpMyAdmin configuration storage settings.
 */

/* User used to manipulate with storage */
 $cfg[&#039;Servers&#039;][$i][&#039;controlhost&#039;] = &#039;localhost&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;controluser&#039;] = &#039;root&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;controlpass&#039;] = &#039;250689&#039;;

/* Storage database and tables */
$cfg[&#039;Servers&#039;][$i][&#039;pmadb&#039;] = &#039;phpmyadmin&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;bookmarktable&#039;] = &#039;pma_bookmark&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;relation&#039;] = &#039;pma_relation&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;table_info&#039;] = &#039;pma_table_info&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;table_coords&#039;] = &#039;pma_table_coords&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;pdf_pages&#039;] = &#039;pma_pdf_pages&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;column_info&#039;] = &#039;pma_column_info&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;history&#039;] = &#039;pma_history&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;table_uiprefs&#039;] = &#039;pma_table_uiprefs&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;tracking&#039;] = &#039;pma_tracking&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;designer_coords&#039;] = &#039;pma_designer_coords&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;userconfig&#039;] = &#039;pma_userconfig&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;recent&#039;] = &#039;pma_recent&#039;;
$cfg[&#039;Servers&#039;][$i][&#039;table_uiprefs&#039;] = &#039;pma_table_uiprefs&#039;;
/* Contrib / Swekey authentication */
// $cfg[&#039;Servers&#039;][$i][&#039;auth_swekey_config&#039;] = &#039;/etc/swekey-pma.conf&#039;;

/*
 * End of servers configuration
 */

/*
 * Directories for saving/loading files from server
 */
$cfg[&#039;UploadDir&#039;] = &#039;/tmp&#039;;
$cfg[&#039;SaveDir&#039;] = &#039;/tmp&#039;;

/**
 * Defines whether a user should be displayed a &quot;show all (records)&quot;
 * button in browse mode or not.
 * default = false
 */
//$cfg[&#039;ShowAll&#039;] = true;

/**
 * Number of rows displayed when browsing a result set. If the result
 * set contains more rows, &quot;Previous&quot; and &quot;Next&quot;.
 * default = 30
 */
//$cfg[&#039;MaxRows&#039;] = 50;

/**
 * Use graphically less intense menu tabs
 * default = false
 */
//$cfg[&#039;LightTabs&#039;] = true;

/**
 * disallow editing of binary fields
 * valid values are:
 *   false  allow editing
 *   &#039;blob&#039; allow editing except for BLOB fields
 *   &#039;all&#039;  disallow editing
 * default = blob
 */
//$cfg[&#039;ProtectBinary&#039;] = &#039;false&#039;;

/**
 * Default language to use, if not browser-defined or user-defined
 * (you find all languages in the locale folder)
 * uncomment the desired line:
 * default = &#039;en&#039;
 */
$cfg[&#039;DefaultLang&#039;] = &#039;ru&#039;;
//$cfg[&#039;DefaultLang&#039;] = &#039;de&#039;;

/**
 * default display direction (horizontal|vertical|horizontalflipped)
 */
//$cfg[&#039;DefaultDisplay&#039;] = &#039;vertical&#039;;


/**
 * How many columns should be used for table display of a database?
 * (a value larger than 1 results in some information being hidden)
 * default = 1
 */
//$cfg[&#039;PropertiesNumColumns&#039;] = 2;

/**
 * Set to true if you want DB-based query history.If false, this utilizes
 * JS-routines to display query history (lost by window close)
 *
 * This requires configuration storage enabled, see above.
 * default = false
 */
//$cfg[&#039;QueryHistoryDB&#039;] = true;

/**
 * When using DB-based query history, how many entries should be kept?
 *
 * default = 25
 */
//$cfg[&#039;QueryHistoryMax&#039;] = 100;

/*
 * You can find more configuration options in Documentation.html
 * or here: http://wiki.phpmyadmin.net/pma/Config
 */
?&gt;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[alexander-Hoak]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=5016</uri>
			</author>
			<updated>2013-02-21T06:58:25Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=22360#p22360</id>
		</entry>
</feed>
