<br><font size=2 face="Arial">Hallo Veselina,</font>
<br>
<br><font size=2 face="Arial">versuchs mal ohne Passwort.</font>
<br>
<br><tt><font size=2>define(&quot;PW&quot;, &quot;&quot;);</font></tt>
<br>
<br><tt><font size=2>Bei mir zumindest gehts nur so, aus welchen Gründen
auch immer. Ich hatte bis jetzt noch keine Zeit und Lust das rauszufinden.</font></tt>
<br>
<br><tt><font size=2>MFG</font></tt>
<br>
<br><tt><font size=2>Detlef Stockhaus</font></tt>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Samson, Marko&quot;
&lt;Marko.Samson@wald-und-holz.nrw.de&gt;</b> </font>
<br><font size=1 face="sans-serif">Gesendet von: mapbender_users-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">22.03.2007 09:48</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Bitte antworten an<br>
Mapbender User List &lt;mapbender_users@lists.osgeo.org&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">An</font></div>
<td valign=top><font size=1 face="sans-serif">&quot;Mapbender User List&quot;
&lt;mapbender_users@lists.osgeo.org&gt;</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Kopie</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Thema</font></div>
<td valign=top><font size=1 face="sans-serif">AW: [Mapbender-users] 'root'
mit mysql</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hallo Veselina,<br>
<br>
die Fehlermeldung:<br>
<br>
&gt; Database check<br>
&gt; Administration Database &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; MySQL<br>
&gt; Connect to Database &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;not connected<br>
<br>
sagt, dass die Angaben in deiner mapbender.conf nicht passen:<br>
<br>
define(&quot;DBSERVER&quot;, &quot;localhost&quot;); <br>
define(&quot;DB&quot;, &quot;mapbender&quot;);<br>
define(&quot;OWNER&quot;, &quot;root&quot;);<br>
define(&quot;PW&quot;, &quot;root&quot;);<br>
<br>
Wie meldest du dich denn auf der MySql Datenbank an? Diese Werte müssen
auch in die mapbender.conf. Ist das Passwort für den mysql-User 'root'
wirklich 'root'? Und läuft die Datenbank und der Apache-Webserver bzw.
Mapbender auf dem selben Rechner?<br>
<br>
Die Fehlermeldung:<br>
<br>
&gt; Connect to Database &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;not connected<br>
<br>
und &nbsp;die Fehlermeldung aus der mb_error.log:<br>
<br>
db_query(UPDATE mb_user SET mb_user_login_count = (mb_user_login_count<br>
+ 1) WHERE mb_user_name = 'root')= db_error=Access denied for user<br>
'root'@'localhost' (using password: YES)<br>
<br>
sehen so aus, als wenn die Angaben nicht stimmen.<br>
<br>
Es passt also entweder die Angabe:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
define(&quot;DBSERVER&quot;, &quot;localhost&quot;); &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;=wenn Datenbank
auf einem anderen Rechner läuft, trage hier mal die IP des Datenbankservers
ein.<br>
<br>
nicht. Wenn die Datenbank auf einem anderen Rechner läuft.<br>
<br>
Oder die Login Daten für die MySQLDatenbank stimmen nicht:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
define(&quot;OWNER&quot;, &quot;root&quot;);<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
define(&quot;PW&quot;, &quot;root&quot;); &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;<br>
<br>
<br>
<br>
Gruß,<br>
Marko Samson<br>
<br>
<br>
Marko Samson<br>
Landesbetrieb Wald und Holz NRW<br>
GIS-Anwendungsentwicklung<br>
Referat I-5<br>
Albrecht-Thaer-Straße 34<br>
48147 Münster<br>
<br>
Tel.: 0251/91797 - 169<br>
Mail: marko.samson@wald-und-holz.nrw.de<br>
 <br>
<br>
&gt; -----Ursprüngliche Nachricht-----<br>
&gt; Von: mapbender_users-bounces@lists.osgeo.org <br>
&gt; [mailto:mapbender_users-bounces@lists.osgeo.org] Im Auftrag <br>
&gt; von Veselina Dencheva<br>
&gt; Gesendet: Mittwoch, 21. März 2007 16:14<br>
&gt; An: Mapbender User List<br>
&gt; Betreff: Re: [Mapbender-users] 'root' mit mysql<br>
&gt; <br>
&gt; Hi,<br>
&gt; <br>
&gt; &nbsp;1. Der Befehl create user will irgendwie nicht <br>
&gt; funktionieren, kannn es &nbsp;sein dass es an der mysql version <br>
&gt; liegt, die ist ja mysql-4.1.14 und &nbsp;nicht 5.02 wo es create user
gibt.<br>
&gt; <br>
&gt; &nbsp;Die Fehlermeldung ist:<br>
&gt; &nbsp;#1064 - You have an error in your SQL syntax; check the <br>
&gt; manual that &nbsp;corresponds to your MySQL server version for the
<br>
&gt; right syntax to use &nbsp;near 'USER 'mapbender'@ 'localhost' <br>
&gt; IDENTIFIED BY '0815'' at line 1<br>
&gt; <br>
&gt; &nbsp;2. http://localhost/mapbender/tools/mapbender_setup.php <br>
&gt; zeigt folgendes:<br>
&gt; _____________________________________________________________________<br>
&gt; <br>
&gt; Setup-Checker<br>
&gt; PHP Configurationcheck<br>
&gt; php Version &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X &nbsp; &nbsp; &nbsp;Version:
5.1.4<br>
&gt; interface &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; Modul-PHP<br>
&gt; path to php.ini &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;X &nbsp; &nbsp; &nbsp; C:\ms4w\Apache\cgi-bin\php.ini<br>
&gt; extension_dir &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; /ms4w/Apache/php/ext/(check the <br>
&gt; path, is it correct?)<br>
&gt; session.save_path &nbsp; X &nbsp; &nbsp; &nbsp; /ms4w/tmp (check out
the <br>
&gt; authorisation of the dir)<br>
&gt; memory Limit &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; X &nbsp; &nbsp; &nbsp;8M (running in
memory-trouble with <br>
&gt; printing?<br>
&gt; Perhaps raise your memory limit)<br>
&gt; error-reporting &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; ok, error_reporting = <br>
&gt; E_ALL &amp; ~E_NOTICE<br>
&gt; session.save_handler &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; session.save_handler = files<br>
&gt; file_Uploads &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; On<br>
&gt; allow_url_fopen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; On<br>
&gt; <br>
&gt; <br>
&gt; PHP Extensioncheck<br>
&gt; MySQL check &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; MySQL installed<br>
&gt; PostgreSQL check &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; PostgreSQL installed<br>
&gt; GD2 check &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; GD installed<br>
&gt; <br>
&gt; <br>
&gt; Warning: pg_connect() [function.pg-connect]: Unable to <br>
&gt; connect to PostgreSQL server: missing &quot;=&quot; after &quot;with&quot;
in <br>
&gt; connection info string in <br>
&gt; C:\ms4w\apps\mapbender\HTTP\TOOLS\mapbender_setup.php on line 128<br>
&gt; <br>
&gt; Database check<br>
&gt; Administration Database &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; MySQL<br>
&gt; Connect to Database &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;not connected<br>
&gt; PostGIS function check<br>
&gt; Postgis support &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; no PostGIS function available<br>
&gt; <br>
&gt; <br>
&gt; mapbender.conf check<br>
&gt; Administration Database &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; mysql<br>
&gt; DB-Server &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; localhost (is this your DB-Server)<br>
&gt; Mapbender-DB &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; mapbender (is this your Mapbender-DB)<br>
&gt; DB-Owner &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; mapbender (is this your DB-Owner)<br>
&gt; PREPAREDSTATEMENTS-<br>
&gt; compatibility &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; set to 'true' and php 5.1.4 should work<br>
&gt; CHARSET &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
UTF-8<br>
&gt; TMPDIR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
../tmp<br>
&gt; MAXLOGIN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; 3<br>
&gt; Login-Path &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; http://localhost/mapbender/frames/login.php<br>
&gt; (if this link doesn't work, check out your 'URL to Login' in <br>
&gt; your mapbender.conf Perhaps an alias in your httpd.conf will <br>
&gt; solve the prob') <br>
&gt; _____________________________________________________________________<br>
&gt; <br>
&gt; <br>
&gt; &nbsp;Beseonders der Teil in Database check (Connect to Database &nbsp;
<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;not<br>
&gt; &nbsp;connected ) gefaellt mir nicht<br>
&gt; <br>
&gt; <br>
&gt; Gruesse, Veselina<br>
&gt; <br>
&gt; &gt; 2007/3/21, Tilo Wütherich &lt;tilo.wuetherich@la-bw.de&gt;:<br>
&gt; &gt; &gt; Hallo Veselina,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; ich schätze, das ist der Fehler: Du mußt noch einen <br>
&gt; MySQL-Benutzer <br>
&gt; &gt; &gt; anlegen und ihm Schreib-/Leserechte in der Datenbank mapbender
<br>
&gt; &gt; &gt; geben. Per SQL also ein<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; CREATE USER 'mapbender'@ 'localhost' IDENTIFIED BY '****';
etc.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; oder per PHPMyAdmin. Der Benutzer kann z.B. mapbender <br>
&gt; heißen und das <br>
&gt; &gt; &gt; Paßwort<br>
&gt; &gt; &gt; 0815 erhalten. In der mapbender.conf steht dann:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; ...<br>
&gt; &gt; &gt; &nbsp;if(SYS_DBTYPE==&quot;mysql&quot;)<br>
&gt; &gt; &gt; &nbsp;{<br>
&gt; &gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; define(&quot;DBSERVER&quot;,
&quot;localhost&quot;);<br>
&gt; &gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; define(&quot;PORT&quot;, &quot;3306&quot;);<br>
&gt; &gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; define(&quot;DB&quot;, &quot;mapbender&quot;);<br>
&gt; &gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; define(&quot;OWNER&quot;, &quot;mapbender&quot;);<br>
&gt; &gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; define(&quot;PW&quot;, &quot;0815&quot;);<br>
&gt; &gt; &gt; ...<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Der Benutzer root/root ist der Mapbender-Benutzer, mit <br>
&gt; dem Du Dich <br>
&gt; &gt; &gt; über den Browser anmeldest.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Ich hoffe, ich konnte helfen!<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Mapbender_users mailing list<br>
&gt; &gt; &gt; Mapbender_users@lists.osgeo.org<br>
&gt; &gt; &gt; http://lists.osgeo.org/mailman/listinfo/mapbender_users<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; _______________________________________<br>
&gt; &gt; Remote Sensing Applications Center (ReSAC)<br>
&gt; &gt; 61 Tzar Assen Str.<br>
&gt; &gt; 1463 Sofia, Bulgaria<br>
&gt; &gt; Tel: +359 2 9800731<br>
&gt; &gt; Tel: +359 2 9812231<br>
&gt; &gt; Fax: +359 2 9818216<br>
&gt; &gt;<br>
&gt; &gt; e-mail: resac@techno-link.com<br>
&gt; &gt; URL: www.resac-bg.org<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; <br>
&gt; <br>
&gt; --<br>
&gt; _______________________________________<br>
&gt; Remote Sensing Applications Center (ReSAC)<br>
&gt; 61 Tzar Assen Str.<br>
&gt; 1463 Sofia, Bulgaria<br>
&gt; Tel: +359 2 9800731<br>
&gt; Tel: +359 2 9812231<br>
&gt; Fax: +359 2 9818216<br>
&gt; <br>
&gt; e-mail: resac@techno-link.com<br>
&gt; URL: www.resac-bg.org<br>
&gt; _______________________________________________<br>
&gt; Mapbender_users mailing list<br>
&gt; Mapbender_users@lists.osgeo.org<br>
&gt; http://lists.osgeo.org/mailman/listinfo/mapbender_users<br>
&gt; <br>
_______________________________________________<br>
Mapbender_users mailing list<br>
Mapbender_users@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/mapbender_users<br>
</font></tt><font size=2 face="sans-serif"> </font>
<br>