phpbar.de logo

Mailinglisten-Archive

Problem mit select

Problem mit select

Sven Griesfeller mysql-de_(at)_lists.bttr.org
Mon, 29 Jul 2002 14:17:32 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_00CF_01C2370A.AD9AD000
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hallo Liste

Ich habe eine Problem mit der mysql
Ich habe Datensätze mit Nickname und Passwörtern .
Als Datenbank setzte ich eine 3.23.51 MySql selbstkompiliert ein.
Ich habe zwei Datensätze
snoopy;test
snoopü;test1
wenn ich nun eine select * from user where name=’snoppy’; mache, bekomme ich
beide Datensätze zurück.

Die Table sieht wie folgt aus:
CREATE TABLE defaultusers (
   name varchar(30) NOT NULL,
   password varchar(30) NOT NULL,
   KEY name (name)
);

Sven Griesfeller



------=_NextPart_000_00CF_01C2370A.AD9AD000
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 9">
<meta name=3DOriginator content=3D"Microsoft Word 9">
<link rel=3DFile-List href=3D"cid:filelist.xml_(at)_01C2370A.AD7AC4E0">
<title>Nachricht</title>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
_(at)_font-face
	{font-family:"Arial Unicode MS";
	panose-1:2 11 6 4 2 2 2 2 2 4;
	mso-font-charset:128;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-1 -369098753 63 0 4129023 0;}
_(at)_font-face
	{font-family:"\_(at)_Arial Unicode MS";
	mso-font-charset:128;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-1 -369098753 63 0 4129023 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
	{margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
pre
	{margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Arial Unicode MS";
	color:black;}
span.EmailFormatvorlage15
	{mso-style-type:personal-reply;
	mso-ansi-font-size:10.0pt;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:navy;}
_(at)_page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
</head>

<body lang=3DDE style=3D'tab-interval:35.4pt'>

<div class=3DSection1>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Hallo Liste</span></font></span><span =
class=3DEmailFormatvorlage15><font
size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial;color:navy;mso-color-alt:windowtext'><o:p></o:p>=
</span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Ich habe eine Problem mit der =
mysql<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Ich habe Datens=E4tze mit Nickname und Passw=F6rtern =
.<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Als Datenbank setzte ich eine 3.23.51 MySql selbstkompiliert =
ein.<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Ich habe zwei Datens=E4tze <o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>snoopy;test<o:p></o:p></span><=
/font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>snoop=FC;test1<o:p></o:p></spa=
n></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>wenn ich nun eine select * from user where =
name=3D&#8217;snoppy&#8217;; mache, bekomme
ich beide Datens=E4tze zur=FCck. <o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Die Table sieht wie folgt =
aus:<o:p></o:p></span></font></span></p>

<pre><font size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;mso-ansi-language:EN-GB'>CREATE TABLE =
defaultusers (<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;mso-ansi-language:EN-GB'><span style=3D"mso-spacerun: =
yes">&nbsp;&nbsp; </span>name varchar(30) NOT =
NULL,<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;mso-ansi-language:EN-GB'><span style=3D"mso-spacerun: =
yes">&nbsp;&nbsp; </span>password varchar(30) NOT =
NULL,<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;mso-ansi-language:EN-GB'><span style=3D"mso-spacerun: =
yes">&nbsp;&nbsp; </span>KEY name =
(name)<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt'>);<o:p></o:p></span></font></pre>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Sven Griesfeller<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

</div>

</body>

</html>

------=_NextPart_000_00CF_01C2370A.AD9AD000--

---
Infos zur Mailingliste, zur Teilnahme und zum An- und Abmelden unter
-->>  http://www.4t2.com/mysql 



php::bar PHP Wiki   -   Listenarchive