<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Datenbank &#8211; The Eternal Path</title>
	<atom:link href="https://arasan.de/tag/datenbank/feed/" rel="self" type="application/rss+xml" />
	<link>https://arasan.de</link>
	<description>Arasan.de</description>
	<lastBuildDate>Thu, 15 Sep 2022 14:29:39 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>

<image>
	<url>https://arasan.de/wp-content/uploads/2024/10/triquetra-512x512-1.png</url>
	<title>Datenbank &#8211; The Eternal Path</title>
	<link>https://arasan.de</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Symfony Todo App &#8211; Datenbankverbindung erstellen</title>
		<link>https://arasan.de/symfony-todo-app-datenbankverbindung-erstellen/</link>
		
		<dc:creator><![CDATA[«Æ»]]></dc:creator>
		<pubDate>Thu, 15 Sep 2022 14:29:38 +0000</pubDate>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[.ENV]]></category>
		<category><![CDATA[Datenbank]]></category>
		<category><![CDATA[Symfony]]></category>
		<category><![CDATA[SymfonyTodoApp]]></category>
		<guid isPermaLink="false">https://arasan.de/?p=596</guid>

					<description><![CDATA[Jetzt erstellen wir zunächst eine DB-Verbindung zu MySQL, damit wir eine Tabelle erstellen können.Wir tragen unsere Verbindung in der .ENV Datei ein: Mit dem folgenden Befehl können wir unsere Datenbank erstellen: Unsere Datenbank hat bisher keine Tabellen, sie sieht in TablePlus folgendermaßen aus:]]></description>
										<content:encoded><![CDATA[<ol style="margin: 20px"><li><a href="https://arasan.de/symfony-todoapp-projekt-mit-git-github-erstellen/">Symfony TodoApp &#8211; Projekt mit Git + Github erstellen</a></li><li><a href="https://arasan.de/symfony-todoapp-todoscontroller-erstellen/">Symfony TodoApp &#8211; TodosController erstellen</a></li><li><a href="https://arasan.de/symfony-todoapp-twig-template-anpassen/">Symfony TodoApp &#8211; Twig Template anpassen</a></li><li><a href="https://arasan.de/symfony-todo-app-bootstrap-styles-hinzufuegen/">Symfony Todo App &#8211; Bootstrap Styles hinzufügen</a></li><li><a href="https://arasan.de/symfony-todo-app-todoscontroller-create-route-hinzufuegen/">Symfony Todo App &#8211; TodosController: Create Route hinzufügen</a></li><li>Symfony Todo App &#8211; Datenbankverbindung erstellen</li><li><a href="https://arasan.de/symfony-todo-app-entity-repository-erstellen/">Symfony Todo App &#8211; Entity + Repository erstellen</a></li><li><a href="https://arasan.de/symfony-todo-app-todoitems-aus-tableplus-tabelle-anzeigen/">Symfony Todo App – TodoItems aus TablePlus Tabelle anzeigen</a></li><li><a href="https://arasan.de/symfony-todo-app-formular-fuer-erstellen-von-todoitems-erzeugen/">Symfony todo App &#8211; Formular für Erstellen von TodoItems erzeugen</a></li><li><a href="https://arasan.de/symfony-todo-app-formular-fuer-bearbeiten-von-todoitems-erzeugen/">Symfony Todo App &#8211; Formular für Bearbeiten von TodoItems erzeugen</a></li><li><a href="https://arasan.de/symfony-todoapp-loeschen-funktion-fuer-todoitems-erzeugen/">Symfony TodoApp &#8211; Löschen-Funktion für TodoItems erzeugen</a></li><li><a href="https://arasan.de/symfony-todoapp-login-registrierung-hinzufuegen/">Symfony TodoApp &#8211; Login + Registrierung hinzufügen</a></li></ol>



<p class="wp-block-paragraph">Jetzt erstellen wir zunächst eine DB-Verbindung zu MySQL, damit wir eine Tabelle erstellen können.<br>Wir tragen unsere Verbindung in der .ENV Datei ein:</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="2892" height="1636" src="https://arasan.de/wp-content/uploads/2022/09/symfony-symfapp-env-file-databaase-connection-1.png" alt="" class="wp-image-602"/></figure>



<p class="wp-block-paragraph">Mit dem folgenden Befehl können wir unsere Datenbank erstellen:</p>



<pre class="wp-block-code"><code>php bin/console doctrine:database:create</code></pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1822" height="226" src="https://arasan.de/wp-content/uploads/2022/09/symfony-symfapp-php-bin-console-doctrine-database-create-1.png" alt="" class="wp-image-603"/></figure>



<p class="wp-block-paragraph">Unsere Datenbank hat bisher keine Tabellen, sie sieht in TablePlus folgendermaßen aus:</p>



<figure class="wp-block-image size-full"><img decoding="async" width="1918" height="1500" src="https://arasan.de/wp-content/uploads/2022/09/symfony-symfapp-database-tableplus.png" alt="" class="wp-image-606"/></figure>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
