<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум PHP-MyAdmin.RU &mdash; 1045]]></title>
	<link rel="self" href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=1642&amp;type=atom" />
	<updated>2010-03-31T12:02:40Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.php-myadmin.ru/viewtopic.php?id=1642</id>
		<entry>
			<title type="html"><![CDATA[Re: 1045]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=11414#p11414" />
			<content type="html"><![CDATA[<p><strong>anton9519</strong><br />Как я понял, конфигурационный файл находится здесь /etc/phpmyadmin/config-db.php и в нем надо прописать данные для подключения.</p><p>ERROR 1045 (28000): Access denied for user &#039;root&#039;@&#039;localhost&#039; (using password: YES)<br />Вот это плохо, так как означает, что пароль root MySQL не принимает.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2010-03-31T12:02:40Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=11414#p11414</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1045]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=11410#p11410" />
			<content type="html"><![CDATA[<p>&lt;?php<br />/**<br /> * Debian local configuration file<br /> *<br /> * This file overrides the settings made by phpMyAdmin interactive setup<br /> * utility.<br /> *<br /> * For example configuration see /usr/share/doc/phpmyadmin/examples/config.default.php.gz<br /> *<br /> * NOTE: do not add security sensitive data to this file (like passwords)<br /> * unless you really know what you&#039;re doing. If you do, any user that can<br /> * run PHP or CGI on your webserver will be able to read them. If you still<br /> * want to do this, make sure to properly secure the access to this file<br /> * (also on the filesystem level).<br /> */</p><p>/**<br /> * Server(s) configuration<br /> */<br />$i = 0;<br />// The $cfg[&#039;Servers&#039;] array starts with $cfg[&#039;Servers&#039;][1].&nbsp; Do not use $cfg[&#039;Servers&#039;][0].<br />// You can disable a server config entry by setting host to &#039;&#039;.<br />$i++;</p><p>/* Read configuration from dbconfig-common */<br />require(&#039;/etc/phpmyadmin/config-db.php&#039;);</p><p>/* Configure according to dbconfig-common if enabled */<br />if (!empty($dbname)) {<br />&nbsp; &nbsp; /* Authentication type */<br />&nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;auth_type&#039;] = &#039;cookie&#039;;<br />&nbsp; &nbsp; /* Server parameters */<br />&nbsp; &nbsp; if (empty($dbserver)) $dbserver = &#039;localhost&#039;;<br />&nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;host&#039;] = $dbserver;</p><p>&nbsp; &nbsp; if (!empty($dbport)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;connect_type&#039;] = &#039;tcp&#039;;<br />&nbsp; &nbsp; &nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;port&#039;] = $dbport;<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; //$cfg[&#039;Servers&#039;][$i][&#039;compress&#039;] = false;<br />&nbsp; &nbsp; /* Select mysqli if your server has it */<br />&nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;extension&#039;] = &#039;mysqli&#039;;<br />&nbsp; &nbsp; /* Optional: User for advanced features */<br />&nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;controluser&#039;] = $dbuser;<br />&nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;controlpass&#039;] = $dbpass;<br />&nbsp; &nbsp; /* Optional: Advanced phpMyAdmin features */<br />&nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;pmadb&#039;] = $dbname;<br />&nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;bookmarktable&#039;] = &#039;pma_bookmark&#039;;<br />&nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;relation&#039;] = &#039;pma_relation&#039;;<br />&nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;table_info&#039;] = &#039;pma_table_info&#039;;<br />&nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;table_coords&#039;] = &#039;pma_table_coords&#039;;<br />&nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;pdf_pages&#039;] = &#039;pma_pdf_pages&#039;;<br />&nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;column_info&#039;] = &#039;pma_column_info&#039;;<br />&nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;history&#039;] = &#039;pma_history&#039;;<br />&nbsp; &nbsp; $cfg[&#039;Servers&#039;][$i][&#039;designer_coords&#039;] = &#039;pma_designer_coords&#039;;</p><p>&nbsp; &nbsp; /* Uncomment the following to enable logging in to passwordless accounts,<br />&nbsp; &nbsp; &nbsp;* after taking note of the associated security risks. */<br />&nbsp; &nbsp; // $cfg[&#039;Servers&#039;][$i][&#039;AllowNoPassword&#039;] = TRUE;</p><p>&nbsp; &nbsp; /* Advance to next server for rest of config */<br />&nbsp; &nbsp; $i++;<br />}</p><p>/* Authentication type */<br />//$cfg[&#039;Servers&#039;][$i][&#039;auth_type&#039;] = &#039;cookie&#039;;<br />/* Server parameters */<br />//$cfg[&#039;Servers&#039;][$i][&#039;host&#039;] = &#039;localhost&#039;;<br />//$cfg[&#039;Servers&#039;][$i][&#039;connect_type&#039;] = &#039;tcp&#039;;<br />//$cfg[&#039;Servers&#039;][$i][&#039;compress&#039;] = false;<br />/* Select mysqli if your server has it */<br />//$cfg[&#039;Servers&#039;][$i][&#039;extension&#039;] = &#039;mysql&#039;;<br />/* Optional: User for advanced features */<br />// $cfg[&#039;Servers&#039;][$i][&#039;controluser&#039;] = &#039;pma&#039;;<br />// $cfg[&#039;Servers&#039;][$i][&#039;controlpass&#039;] = &#039;pmapass&#039;;<br />/* Optional: Advanced phpMyAdmin features */<br />// $cfg[&#039;Servers&#039;][$i][&#039;pmadb&#039;] = &#039;phpmyadmin&#039;;<br />// $cfg[&#039;Servers&#039;][$i][&#039;bookmarktable&#039;] = &#039;pma_bookmark&#039;;<br />// $cfg[&#039;Servers&#039;][$i][&#039;relation&#039;] = &#039;pma_relation&#039;;<br />// $cfg[&#039;Servers&#039;][$i][&#039;table_info&#039;] = &#039;pma_table_info&#039;;<br />// $cfg[&#039;Servers&#039;][$i][&#039;table_coords&#039;] = &#039;pma_table_coords&#039;;<br />// $cfg[&#039;Servers&#039;][$i][&#039;pdf_pages&#039;] = &#039;pma_pdf_pages&#039;;<br />// $cfg[&#039;Servers&#039;][$i][&#039;column_info&#039;] = &#039;pma_column_info&#039;;<br />// $cfg[&#039;Servers&#039;][$i][&#039;history&#039;] = &#039;pma_history&#039;;<br />// $cfg[&#039;Servers&#039;][$i][&#039;designer_coords&#039;] = &#039;pma_designer_coords&#039;;<br />/* Uncomment the following to enable logging in to passwordless accounts,<br /> * after taking note of the associated security risks. */<br />// $cfg[&#039;Servers&#039;][$i][&#039;AllowNoPassword&#039;] = TRUE;</p><p>/*<br /> * End of servers configuration<br /> */</p><p>/*<br /> * Directories for saving/loading files from server<br /> */<br />$cfg[&#039;UploadDir&#039;] = &#039;&#039;;<br />$cfg[&#039;SaveDir&#039;] = &#039;&#039;;</p><p><span style="color: #808080"><em>Сообщение добавлено Wed Mar 31 12:41:44 2010</em></span><br />root@anton-desktop:~# mysql -uroot -p3231283<br />ERROR 1045 (28000): Access denied for user &#039;root&#039;@&#039;localhost&#039; (using password: YES)<br />root@anton-desktop:~#</p>]]></content>
			<author>
				<name><![CDATA[anton9519]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2681</uri>
			</author>
			<updated>2010-03-31T08:40:32Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=11410#p11410</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1045]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=11408#p11408" />
			<content type="html"><![CDATA[<p>можно с вами как-то связатся а то нереал форум вечно обновлять ??<br /><span style="color: red">hanut@php-myadmin.ru</span></p>]]></content>
			<author>
				<name><![CDATA[anton9519]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2681</uri>
			</author>
			<updated>2010-03-31T08:35:29Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=11408#p11408</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1045]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=11407#p11407" />
			<content type="html"><![CDATA[<p>Судя по <a href="https://help.ubuntu.com/9.10/serverguide/C/phpmyadmin.html">документации</a>, конфигурационный файл phpMyAdmin должен быть где-то здесь /etc/phpmyadmin/config.inc.php<br />Покажите как он выглядит.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2010-03-31T08:26:06Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=11407#p11407</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1045]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=11404#p11404" />
			<content type="html"><![CDATA[<p><a href="http://89.179.124.181/phpmyadmin/index.php">http://89.179.124.181/phpmyadmin/index.php</a>&nbsp; my phpmyadmin</p>]]></content>
			<author>
				<name><![CDATA[anton9519]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2681</uri>
			</author>
			<updated>2010-03-31T06:09:12Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=11404#p11404</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1045]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=11403#p11403" />
			<content type="html"><![CDATA[<p>root@anton-desktop:~# mysql -uroot -p<span style="color: red">pass</span><br />ERROR 1045 (28000): Access denied for user &#039;root&#039;@&#039;localhost&#039; (using password: YES)<br />root@anton-desktop:~#</p><p><span style="color: red">pass - это пароль. Пропишите ваш пароль пользователя root.</span></p>]]></content>
			<author>
				<name><![CDATA[anton9519]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2681</uri>
			</author>
			<updated>2010-03-31T05:51:15Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=11403#p11403</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1045]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=11397#p11397" />
			<content type="html"><![CDATA[<p><strong>anton9519</strong><br />Создайте в веб директории файл, скажем test.php и вставьте данный код, после чего запустите файл из браузера (localhost/test.php).</p><p>А в консоли эту команду надо попробовать.<br />[mono]mysql -uroot -ppass[/mono]</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2010-03-30T19:27:18Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=11397#p11397</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1045]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=11395#p11395" />
			<content type="html"><![CDATA[<p>я в этом noob</p>]]></content>
			<author>
				<name><![CDATA[anton9519]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2681</uri>
			</author>
			<updated>2010-03-30T16:41:40Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=11395#p11395</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1045]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=11394#p11394" />
			<content type="html"><![CDATA[<p>root@anton-desktop:~# &lt;?php<br />bash: ?php: No such file or directory<br />root@anton-desktop:~# $link = mysql_connect(&#039;localhost&#039;, &#039;mysql_user&#039;, &#039;mysql_password&#039;);<br />bash: ошибка синтаксиса около неожиданной лексемы `(&#039;<br />root@anton-desktop:~# if (!$link) {<br />if (;link) {<br />bash: ошибка синтаксиса около неожиданной лексемы `;&#039;<br />root@anton-desktop:~#&nbsp; &nbsp; &nbsp;die(&#039;Ошибка подключения: &#039; . mysql_error());<br />bash: ошибка синтаксиса около неожиданной лексемы `&#039;Ошибка подключения: &#039;&#039;<br />root@anton-desktop:~# }<br />bash: ошибка синтаксиса около неожиданной лексемы `}&#039;<br />root@anton-desktop:~# echo &#039;Успешное подключение к MySQL&#039;;<br />Успешное подключение к MySQL<br />root@anton-desktop:~# mysql_close($link);<br />bash: ошибка синтаксиса около неожиданной лексемы `$link&#039;<br />root@anton-desktop:~# ?&gt;</p>]]></content>
			<author>
				<name><![CDATA[anton9519]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2681</uri>
			</author>
			<updated>2010-03-30T16:32:35Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=11394#p11394</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1045]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=11392#p11392" />
			<content type="html"><![CDATA[<p><strong>anton9519</strong><br />Из консоли заходите в MySQL? Простейший .php скрипт к MySQL подключается?<br /></p><div class="codebox"><pre><code>&lt;?php
$link = mysql_connect(&#039;localhost&#039;, &#039;mysql_user&#039;, &#039;mysql_password&#039;);
if (!$link) {
    die(&#039;Ошибка подключения: &#039; . mysql_error());
}
echo &#039;Успешное подключение к MySQL&#039;;
mysql_close($link);
?&gt;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2010-03-30T16:13:54Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=11392#p11392</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1045]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=11389#p11389" />
			<content type="html"><![CDATA[<p>В том то и дело что конфиги не кривые, можете дать свой</p>]]></content>
			<author>
				<name><![CDATA[anton9519]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2681</uri>
			</author>
			<updated>2010-03-30T14:35:43Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=11389#p11389</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1045]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=11379#p11379" />
			<content type="html"><![CDATA[<p><strong>anton9519</strong><br />Попробуйте зайти из консоли:<br />[mono]mysql -uroot -ppass[/mono]<br />Вместо pass введите пароль root (вплотную к ключу -p).</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2010-03-29T16:44:52Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=11379#p11379</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[1045]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=11378#p11378" />
			<content type="html"><![CDATA[<p>Здравствуйте уважаемые форумчане&nbsp; ,у меня ошибка&nbsp; при вводе логина и пароля&nbsp; #1045 - Access denied for user &#039;root&#039;@&#039;localhost&#039; (using password: YES) Пароль&nbsp; и логин ввожу правильно .phpmyadmin стоит на ubuntu 9.10</p>]]></content>
			<author>
				<name><![CDATA[anton9519]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2681</uri>
			</author>
			<updated>2010-03-29T14:26:06Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=11378#p11378</id>
		</entry>
</feed>
