<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hallo zusammen ,</p>
besten dank erstmal an alle!<br>
<br>
>>> Woran klemmts denn genau? <<<<br>
<br>
Bezüglich meines Script´´s (direkt in die DB) daran(Script-Auszug):<br>
<br>
<span original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0, 187);">mysqlHost </span><span
original-title="" style="font-family: monospace; font-size: 12px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119, 0);">= </span><span
original-title="" style="font-family: monospace; font-size: 12px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(221, 0, 0);">'127.0.0.1'<br>
</span><span original-title="" style="font-family: monospace;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0, 187);">mysqlPort </span><span
original-title="" style="font-family: monospace; font-size: 12px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119, 0);">= </span><span
original-title="" style="font-family: monospace; font-size: 12px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0, 187);">80<br>
mysqlLogin </span><span original-title="" style="font-family:
monospace; font-size: 12px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 119, 0);">= </span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(221, 0, 0);">'root'<br>
</span><span original-title="" style="font-family: monospace;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0, 187);">mysqlPass </span><span
original-title="" style="font-family: monospace; font-size: 12px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119, 0);">= </span><span
original-title="" style="font-family: monospace; font-size: 12px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(221, 0, 0);">'raspberry'<br>
</span><span original-title="" style="font-family: monospace;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0, 187);">mysqlDatabase </span><span
original-title="" style="font-family: monospace; font-size: 12px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119, 0);">= </span><span
original-title="" style="font-family: monospace; font-size: 12px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(221, 0, 0);">'volkszaehler'<br>
<br>
.<br>
</span><br>
<i><b><span original-title="" style="font-family: monospace;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0, 187);"><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; background-color: rgb(250, 250, 255); color: rgb(255,
128, 0);"># Permanente MySQL Verbindung<br>
</span><span original-title="" style="font-family: monospace;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; background-color: rgb(250, 250, 255); color: rgb(0,
119, 0);">try:<br>
</span><span original-title="" style="font-family:
monospace; font-size: 12px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250,
250, 255); color: rgb(0, 0, 187);">db </span><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; background-color: rgb(250, 250, 255); color: rgb(0,
119, 0);">= </span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0,
187);">MySQLdb</span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119,
0);">.</span><span original-title="" style="font-family:
monospace; font-size: 12px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250,
250, 255); color: rgb(0, 0, 187);">connect</span><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; background-color: rgb(250, 250, 255); color: rgb(0,
119, 0);">(</span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0,
187);">host</span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119,
0);">=</span><span original-title="" style="font-family:
monospace; font-size: 12px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250,
250, 255); color: rgb(0, 0, 187);">mysqlHost</span><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; background-color: rgb(250, 250, 255); color: rgb(0,
119, 0);">, </span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0,
187);">port</span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119,
0);">=</span><span original-title="" style="font-family:
monospace; font-size: 12px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250,
250, 255); color: rgb(0, 0, 187);">mysqlPort</span><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; background-color: rgb(250, 250, 255); color: rgb(0,
119, 0);">, </span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0,
187);">user</span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119,
0);">=</span><span original-title="" style="font-family:
monospace; font-size: 12px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250,
250, 255); color: rgb(0, 0, 187);">mysqlLogin</span><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; background-color: rgb(250, 250, 255); color: rgb(0,
119, 0);">, </span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0,
187);">passwd</span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119,
0);">=</span><span original-title="" style="font-family:
monospace; font-size: 12px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250,
250, 255); color: rgb(0, 0, 187);">mysqlPass</span><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; background-color: rgb(250, 250, 255); color: rgb(0,
119, 0);">)<br>
</span><span original-title="" style="font-family:
monospace; font-size: 12px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250,
250, 255); color: rgb(0, 0, 187);">cursor </span><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; background-color: rgb(250, 250, 255); color: rgb(0,
119, 0);">= </span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0,
187);">db</span><span original-title="" style="font-family:
monospace; font-size: 12px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250,
250, 255); color: rgb(0, 119, 0);">.</span><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; background-color: rgb(250, 250, 255); color: rgb(0, 0,
187);">cursor</span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119,
0);">()<br>
</span><span original-title="" style="font-family: monospace;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; background-color: rgb(250, 250, 255); color: rgb(0, 0,
187);">except</span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119,
0);">:<br>
print(</span><span original-title="" style="font-family:
monospace; font-size: 12px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250,
250, 255); color: rgb(221, 0, 0);">"Fehler beim verbinden zum MySQL Server"</span><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; background-color: rgb(250, 250, 255); color: rgb(0,
119, 0);">)<br>
</span><span original-title="" style="font-family:
monospace; font-size: 12px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250,
250, 255); color: rgb(0, 0, 187);">sys</span><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; background-color: rgb(250, 250, 255); color: rgb(0,
119, 0);">.exit()<br>
<br>
</span>.<br>
</span></b></i><span original-title="" style="font-family:
monospace; font-size: 12px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 0, 187);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 119, 0);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(221, 0, 0);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 0, 187);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 119, 0);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 0, 187);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 119, 0);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(221, 0, 0);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 0, 187);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 119, 0);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(221, 0, 0);"><br>
</span><span original-title="" style="font-family: monospace;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0, 187);"></span><span
original-title="" style="font-family: monospace; font-size: 12px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119, 0);"></span><span
original-title="" style="font-family: monospace; font-size: 12px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(221, 0, 0);"></span><i><b><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119, 0);"></span></b></i><i><b><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0, 187);"></span></b></i><i><b><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119, 0);"><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; background-color: rgb(250, 250, 255); color: rgb(0, 0,
187);">cursor</span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119,
0);">.</span><span original-title="" style="font-family:
monospace; font-size: 12px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250,
250, 255); color: rgb(0, 0, 187);">execute</span>(</span></b></i><i><b><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(221, 0, 0);">"INSERT INTO data (channel_id(34)) (timestamp, value) VALUES (%s, %s);"</span></b></i><i><b><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119, 0);">, (</span></b></i><i><b><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0, 187);"></span></b></i><i><b><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119, 0);"></span></b></i><i><b><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0, 187);">time</span></b></i><i><b><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119, 0);">.</span></b></i><i><b><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 0, 187);">time</span></b></i><i><b><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119, 0);">(), </span></b></i><i><b><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(221, 0, 0);">'1'</span></b></i><i><b><span
original-title="" style="font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); color: rgb(0, 119, 0);">))<br>
</span></b></i><br>
Es folgt dann nach ca.2min das:<br>
<br>
<span style="color: rgb(51, 51, 51); font-family: monospace;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); display: inline !important;
float: none;">pi@raspberrypi:~ $ sudo /test01.py</span><br
style="color: rgb(51, 51, 51); font-family: monospace; font-size:
12px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255);">
<br style="color: rgb(51, 51, 51); font-family: monospace;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255);">
<span style="color: rgb(51, 51, 51); font-family: monospace;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 255); display: inline !important;
float: none;">Fehler beim verbinden zum MySQL Server<br>
</span>
<div class="moz-cite-prefix"><br>
Wenn ich die Zeile<span original-title="" style="font-family:
monospace; font-size: 12px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 0, 187);">(</span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 119, 0);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(221, 0, 0);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 0, 187);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 119, 0);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 0, 187);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 119, 0);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(221, 0, 0);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 0, 187);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 119, 0);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(221, 0, 0);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 0, 187);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(0, 119, 0);"></span><span original-title=""
style="font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); color: rgb(221, 0, 0);"></span><span style="color: rgb(0,
0, 187); font-family: monospace; font-size: 12px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
255); display: inline !important; float: none;">cursor...)</span>
entferne, läuft das Script ohne Fehler.<br>
<br>
Stimmen eventuell die Zugangsdaten nicht? Wenn ich die
Zugangsdaten ändere(z.B.das password), so kommt die Fehlermeldung
sofort!<br>
Die Daten (value(0 oder 1)) sollen in die channel_id:34
geschrieben werden. Wenn ich die Daten von Hand per phpmyadmin
eingebe, erhalte ich im Frondend die gewünschte Darstellung.<br>
<br>
Kann jemand helfen? Baucht es weitere Info´s?<br>
<br>
Besten Dank schonmal - Torsten<br>
<br>
<br>
Am 16.10.2016 um 17:26 schrieb Daniel Lauckner:<br>
</div>
<blockquote cite="mid:971619754.20161016172610@jahp.de" type="cite">
<pre wrap="">Hallo Torsten,
am Sonntag, 16. Oktober 2016 um 16:58 hast du geschrieben:
</pre>
<blockquote type="cite">
<pre wrap="">ist es generell möglich, direkt in die DB
(volkszaehler/data/value) Werte aus einem Script zu übertragen ode
gelingt das nur über z.B. Vzclient oder API(zur middleware)?
</pre>
</blockquote>
<pre wrap="">
Geht auch direkt.
Ich verwende in meinen Scripten aber auch API oder vzclient.
</pre>
<blockquote type="cite">
<pre wrap="">Mit dem wiki zu vzclient und API komme ich mit meinem
Kenntnissstand leider nicht weiter - bekomme das Zusammenspiel von
meinem PHYTON-Script zu diesen Tool´s nicht hin.
</pre>
</blockquote>
<pre wrap="">
Woran klemmts denn genau?
mfg Daniel
</pre>
</blockquote>
<br>
</body>
</html>