From 0045213ff4f5c6b8be0c93ccfa145d6b550a8721 Mon Sep 17 00:00:00 2001 From: "Visal .In" Date: Thu, 12 Sep 2024 15:07:52 +0700 Subject: [PATCH] add mysql landing page --- src/app/(public)/databases/mysql/page.tsx | 141 ++++++++++++++++++++++ src/app/(public)/page.tsx | 5 +- 2 files changed, 142 insertions(+), 4 deletions(-) create mode 100644 src/app/(public)/databases/mysql/page.tsx diff --git a/src/app/(public)/databases/mysql/page.tsx b/src/app/(public)/databases/mysql/page.tsx new file mode 100644 index 0000000..ca900db --- /dev/null +++ b/src/app/(public)/databases/mysql/page.tsx @@ -0,0 +1,141 @@ +import { MySQLIcon } from "@/components/icons/outerbase-icon"; +import WebsiteLayout from "@/components/website-layout"; +import { Metadata } from "next"; + +const siteDescription = + "LibSQL Studio is a fully-featured, lightweight GUI client for managing MySQL databases"; + +export const metadata: Metadata = { + title: "MySQL - LibSQL Studio", + keywords: ["mysql", "studio", "browser", "editor", "gui", "online", "client"], + description: siteDescription, + openGraph: { + siteName: "LibSQL Studio", + description: siteDescription, + }, +}; + +function HeroSection() { + return ( +
+
+ +
+
+

+ + MySQL Support +

+

+ LibSQL Studio is a lightweight, fully-featured GUI client for MySQL + databases. It enables you to manage and view your database, or + expose your database interface externally and much more. +

+
+
+
+ ); +} + +export default function DatabaseMySqlPage() { + return ( + + + +
+

+ Connecting +

+ +

+ You can connect to your MySQL database using our command line + interface. +

+ +
+          
+ > npx{" "} + @outerbase/studio + + mysql://root:123@localhost:3306/chinook + +
+
+
{" "}
+
{" Serving! "}
+
{" - Local: http://localhost:4000 "}
+
{" - Network: http://xxx.xxx.xxx.xxx:4000 "}
+
{" "}
+
+
+ +

+ You can also configure the port and secure it with authentication. +

+ +
+          
+
+ > npx{" "} + @outerbase/studio \ +
+
--port=5000 \
+
--user=admin --pass=123 \
+
+ + mysql://root:123@localhost:3306/chinook + +
+
+
+ +

+ Configuration File +

+ +

+ Tired of typing long connection strings repeatedly? Simply save the + configuration to a file and use it whenever needed. Create{" "} + outerbase.json +

+ +
+          {`{
+  "driver": "mysql",
+  "connection": {
+    "database": "chinook",
+    "host": "localhost",
+    "port": 3306,
+    "user": "root",
+    "password": "123456"
+  }
+}
+`}
+        
+ +

+ Next, run our command line tool to start the service. By default, it + will search for the{" "} + outerbase.json{" "} + configuration file. Alternatively, you can specify a custom + configuration using the{" "} + --config flag. +

+ +
+          
+ > npx{" "} + @outerbase/studio +
+
+
+
+ ); +} diff --git a/src/app/(public)/page.tsx b/src/app/(public)/page.tsx index 786fa2f..89d06e9 100644 --- a/src/app/(public)/page.tsx +++ b/src/app/(public)/page.tsx @@ -125,12 +125,9 @@ function SupportDriver() { - + MySQL - - Coming Soon 15th Sep 2024 -