MySQL Datenbank anlegen für vBulletin Forum

Alles, was MariaDB und MySQL betrifft, kann hier besprochen werden.

MySQL Datenbank anlegen für vBulletin Forum

Postby ErryLee » 22. March 2004 13:51

Hallo!

Mein Server ist soweit wunderbar am laufen. Ich nutze WinXP mit eurem Softwarepaket XAMPP.

Jetzt meine Frage: Bei MySQL Blicke ich nicht durch!
Ich brauche 2 Datenbanken: für mein vBulletin Forum und für einen Chat.

Und jetzt blicke ich nicht durch wie ich die Datenbanken anlege .

Kann mir jemand helfen? Wäre super!

Viele Grüsse,
Sören
ErryLee
 
Posts: 6
Joined: 22. March 2004 13:45

Postby DJ DHG » 22. March 2004 14:01

Moin Moin

machs es doch einfach über PhpMyAdmin.

http://127.0.0.1/phpmyadmin
gleich auf der ersten seit, es sei den du hast einen login via cookie,
steht da "Neue Datenbank anlegen".
da vergibst du dann einfach den namen.

mfg DJ DHG
User avatar
DJ DHG
AF Moderator
 
Posts: 2455
Joined: 27. December 2002 13:50
Location: Kiel

Postby ErryLee » 22. March 2004 14:08

Hi!

Schon mal danke für die Antwort!

Soweit hatte ich das auch schon.

Nur wie bekomme ich einen Nutzernamen sowie Kennwort?

Viele Grüsse,
Sören
ErryLee
 
Posts: 6
Joined: 22. March 2004 13:45

Postby Wiedmann » 22. March 2004 14:15

Mit welchem Benutzernamen und Kennwort hast du dich denn in phpmyadmin eingelogt?

Ansonsten gibt es da auch einen Link "Neuen Benutzer anlegen". Un dem gibst du dann Rechte auf die neu erstellte Datenbank.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby DJ DHG » 22. March 2004 14:16

standart benutzer ohne pw ist "root".

änder kannst du das unter rechte.

mfg DJ DHG
User avatar
DJ DHG
AF Moderator
 
Posts: 2455
Joined: 27. December 2002 13:50
Location: Kiel

Postby ErryLee » 22. March 2004 14:16

Hi!

Habe ich gerade entdeckt!

Ich versuche mich mal durchzufummeln, ich hoffe ich schaffe das!

Ich gebe dann bescheid!

Vielen Dank!
ErryLee
 
Posts: 6
Joined: 22. March 2004 13:45

Postby DJ DHG » 22. March 2004 14:17

Wiedmann wrote:Mit welchem Benutzernamen und Kennwort hast du dich denn in phpmyadmin eingelogt?


ich glaube das wird immer der root sein, weil er soweit ich das jetzt
abschätzen kann nix am xampp geändert hat ;)

mfg DJ DHG
User avatar
DJ DHG
AF Moderator
 
Posts: 2455
Joined: 27. December 2002 13:50
Location: Kiel

Postby ErryLee » 22. March 2004 17:46

Hallo!

Also, es hat soweit geklappt.

Den Benutzer "root" habe ich übrigends gelöscht und einen anderen angelegt. Das ging auch problemlos.

Allerdings habe ich noch ein Problemchen:

Das Forum kann zwar Datenbanken anlegen, bricht dies bei der Installation aber irgendwann ab. Jetzt bin ich auf der Fehlersuche.

2 Dinge könnten die Ursache sein:

a) Ich muß in dem config Scripft des Forums einen "Host" der datenbank angeben, keine Ahnung was ich da reinschreiben soll!

b) Wenn ich die xampp "Status" seite aufrufe wird angezeigt das MySql ausgeschaltet ist, obwohl ich auf MyPhpAdmin zugreifen kann und auch Datenbanken anlegen kann. Die Ampel von WinMySQLAdmin in der Symbolleiste steht auch auf grün allerdings steht im ersten Feld bei MyODBC: "Not found - Driver 3.51 not found"

Kann da jemand was mit anfangen?

Danke schonmal für eure Hilfe!!!!
ErryLee
 
Posts: 6
Joined: 22. March 2004 13:45

Postby Wiedmann » 22. March 2004 18:10

DJ DHG wrote:
Wiedmann wrote:Mit welchem Benutzernamen und Kennwort hast du dich denn in phpmyadmin eingelogt?


ich glaube das wird immer der root sein, weil er soweit ich das jetzt
abschätzen kann nix am xampp geändert hat ;)

mfg DJ DHG

Ach so :idea:
Ich war der Meinung, er ist schon in phpmyadmin drin, hat die Datenbanken angelegt, und sucht nun dem Benutzernamen und Passwort das er in der Board und Chat - Software angeben muß.
*g*
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Wiedmann » 22. March 2004 18:15

Das Forum kann zwar Datenbanken anlegen, bricht dies bei der Installation aber irgendwann ab. Jetzt bin ich auf der Fehlersuche.

Mit welcher Fehlermeldung GENAU bricht er ab (--> error.log)?

a) Ich muß in dem config Scripft des Forums einen "Host" der datenbank angeben, keine Ahnung was ich da reinschreiben soll!

host = localhost
(Apache und MySQL läuft ja auf dem selben PC)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby ErryLee » 22. March 2004 18:17

Hallo!

Ich hatte die lokale IP des Server eingegeben. Jetzt habe ich es mit "localhost" probiert, geht auch nicht.


Hier ist der Quelltext der Fehlermeldung:






<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>vBulletin 3 Install Script Step 5) Inserting Default Data</title>
<link rel="stylesheet" href="../cpstyles/vBulletin_3_Default/controlpanel.css" />
<style type="text/css">
#all {
margin: 10px;
}
#all p, #all td, #all li, #all div {
font-size: 11px;
font-family: verdana, arial, helvetica, sans-serif;
}
</style>
</head>
<body style="margin:0px">
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="navbody" style="borderutset 2px">
<tr>
<td width="160"><img src="../cpstyles/vBulletin_3_Default/cp_logo.gif" alt="" title="vBulletin 3 &copy;2000 - 2004 Jelsoft Enterprises Ltd." /></td>
<td style="padding-left:100px">
<b>vBulletin 3 Install Script</b><br />
(Please be patient as some parts may take some time)<br />
<br />
<b style="font-size:10pt;">Step 5) Inserting Default Data</b> (Step 5 of 13)</td>
</tr>
</table>
<div id="all">
<p style="font-size:10pt;"><b><u>Step 5) Inserting Default Data</u></b></p>
<ul><li>Inserting default data into attachmenttype</li>
<!--
INSERT INTO attachmenttype (extension, mimetype, size, width, height, enabled, display) VALUES
('gif', 'a:1:{i:0;s:23:\&quot;Content-type: image/gif\&quot;;}', '20000', '620', '280', '1', '0'),
('jpeg', 'a:1:{i:0;s:24:\&quot;Content-type: image/jpeg\&quot;;}', '20000', '620', '280', '1', '0'),
('jpg', 'a:1:{i:0;s:24:\&quot;Content-type: image/jpeg\&quot;;}', '100000', '0', '0', '1', '0'),
('jpe', 'a:1:{i:0;s:24:\&quot;Content-type: image/jpeg\&quot;;}', '20000', '620', '280', '1', '0'),
('txt', 'a:1:{i:0;s:24:\&quot;Content-type: plain/text\&quot;;}', '20000', '0', '0', '1', '2'),
('png', 'a:1:{i:0;s:23:\&quot;Content-type: image/png\&quot;;}', '20000', '620', '280', '1', '0'),
('doc', 'a:2:{i:0;s:20:\&quot;Accept-ranges: bytes\&quot;;i:1;s:32:\&quot;Content-type: application/msword\&quot;;}', '20000', '0', '0', '1', '0'),
('pdf', 'a:1:{i:0;s:29:\&quot;Content-type: application/pdf\&quot;;}', '20000', '0', '0', '1', '0'),
('bmp', 'a:1:{i:0;s:26:\&quot;Content-type: image/bitmap\&quot;;}', '20000', '620', '280', '1', '0'),
('psd', 'a:1:{i:0;s:29:\&quot;Content-type: unknown/unknown\&quot;;}', '20000', '0', '0', '1', '0'),
('zip', 'a:1:{i:0;s:29:\&quot;Content-type: application/zip\&quot;;}', '100000', '0', '0', '1', '0')
-->

<html><head><title> Database Error</title><style type="text/css"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head>
<body></table></td></tr></table></form>
<blockquote><p class="error">&nbsp;</p><p class="error"><b>There seems to have been a slight problem with the database.</b><br />
Please try again by pressing the <a href="javascript:window.location=window.location;">refresh</a> button in your browser.</p><p class="error">An E-Mail has been dispatched to our <a href="mailto:webmaster@gimini.de">Technical Staff</a>, who you can also contact if the problem persists.</p><p class="error">We apologise for any inconvenience.</p></blockquote>

<!--
Database error in vBulletin :

Invalid SQL:
INSERT INTO attachmenttype (extension, mimetype, size, width, height, enabled, display) VALUES
('gif', 'a:1:{i:0;s:23:\&quot;Content-type: image/gif\&quot;;}', '20000', '620', '280', '1', '0'),
('jpeg', 'a:1:{i:0;s:24:\&quot;Content-type: image/jpeg\&quot;;}', '20000', '620', '280', '1', '0'),
('jpg', 'a:1:{i:0;s:24:\&quot;Content-type: image/jpeg\&quot;;}', '100000', '0', '0', '1', '0'),
('jpe', 'a:1:{i:0;s:24:\&quot;Content-type: image/jpeg\&quot;;}', '20000', '620', '280', '1', '0'),
('txt', 'a:1:{i:0;s:24:\&quot;Content-type: plain/text\&quot;;}', '20000', '0', '0', '1', '2'),
('png', 'a:1:{i:0;s:23:\&quot;Content-type: image/png\&quot;;}', '20000', '620', '280', '1', '0'),
('doc', 'a:2:{i:0;s:20:\&quot;Accept-ranges: bytes\&quot;;i:1;s:32:\&quot;Content-type: application/msword\&quot;;}', '20000', '0', '0', '1', '0'),
('pdf', 'a:1:{i:0;s:29:\&quot;Content-type: application/pdf\&quot;;}', '20000', '0', '0', '1', '0'),
('bmp', 'a:1:{i:0;s:26:\&quot;Content-type: image/bitmap\&quot;;}', '20000', '620', '280', '1', '0'),
('psd', 'a:1:{i:0;s:29:\&quot;Content-type: unknown/unknown\&quot;;}', '20000', '0', '0', '1', '0'),
('zip', 'a:1:{i:0;s:29:\&quot;Content-type: application/zip\&quot;;}', '100000', '0', '0', '1', '0')

mysql error: Duplicate entry 'gif' for key 1

mysql error number: 1062

Date: Monday 22nd of March 2004 03:20:32 PM
Script: http://192.168.0.144/forum/install/install.php4?step=5
Referer:
IP Address: 192.168.0.155
-->

</body></html>
ErryLee
 
Posts: 6
Joined: 22. March 2004 13:45

Postby lain » 23. March 2004 09:55

sieht ein bisschen so aus, als hättest du es zweimal versucht zu installieren.

"mysql error: Duplicate entry 'gif' for key 1 " << anscheinend ist in der betreffenden tabelle das feld als primary / unique markiert. d.h. wenn es den eintrag "gif" dort schon gibt bekommst du einen fehler beim erneuten einfügen.

Lösch doch nochmal die tabellen und machs langsam (und geduldig) schritt für schritt =)
lain
 
Posts: 38
Joined: 19. March 2004 13:48

Postby ErryLee » 23. March 2004 09:59

Hallo!

Ok, ich habe es geschafft! Mit einer neueren Version des Forums (heute morgen erschienen) hat es problemlos geklappt!

Vielen Dank für eure Hilfe!

Kann mir jetzt noch jemand sagen warum im Status von Xampp bei MySqL "deaktiviert" angezeigt wird? (Habe weiter oben genauere Angaben)

Viele Grüsse,

Sören
ErryLee
 
Posts: 6
Joined: 22. March 2004 13:45


Return to MariaDB - MySQL

Who is online

Users browsing this forum: No registered users and 20 guests