Create Free MySQL Database Online

Поделиться
HTML-код
  • Опубликовано: 25 янв 2025

Комментарии • 294

  • @stylishyousuf
    @stylishyousuf 2 года назад +15

    What a coincidence. I was learning mySql tutorials today morning. It's a good luck sign. 🤘

    • @RaghavPal
      @RaghavPal  2 года назад +2

      All the best Yousuf

    • @stylishyousuf
      @stylishyousuf 2 года назад

      @@RaghavPal Thank you so much.

    • @vattoxonfire1278
      @vattoxonfire1278 Год назад +1

      Nah it yt algorithm

    • @tigonexplainer
      @tigonexplainer Год назад

      Brother it not a coincidence but it's a Google who always watch us wither online or offline

  • @averagetanknon3420
    @averagetanknon3420 11 месяцев назад +20

    WE GETTING A FREE DATABASE WITH THIS ONE 🔥🔥

    • @RaghavPal
      @RaghavPal  11 месяцев назад +1

      Its just for testing or demo purposes

  • @antoniofuller2331
    @antoniofuller2331 11 месяцев назад +3

    Video was so simple. This is my first introduction to REMOTE databases. I was able to follow along. You even made sure to sneak in and mention how to connect to the database using code(java), and how to connect to it using a client. You have your motives, to target separate audiences at a time(developers, beginners, hobbyists etc)

    • @RaghavPal
      @RaghavPal  11 месяцев назад

      Glad it helped..

  • @Jyotirmoymalo
    @Jyotirmoymalo Год назад +3

    How to open database from link ? Beacuse i was created a form and conecting to this data base. But how i open tha form link? Like when I use xampp i use the localhost/foldername/filename. But how i can open my php file ?

    • @RaghavPal
      @RaghavPal  Год назад

      Hi
      Not sure on this. Will need to check online

  • @prasad4718
    @prasad4718 10 месяцев назад +1

    Hello sir, can I retrieve this data from database in my python script

    • @RaghavPal
      @RaghavPal  10 месяцев назад

      I have not tried this Prasad .. can check online

  • @happygirl2406
    @happygirl2406 Год назад +1

    So after creating the server. How can I connect the server to the visual studio? Is there a video on it?

    • @RaghavPal
      @RaghavPal  Год назад

      Not on that, will need to check online

  • @sabashahzadi6174
    @sabashahzadi6174 7 месяцев назад +1

    Stay blessed Raghav, this knowledge is really helpful for us. A lot of thanks for your sincere efforts.

    • @RaghavPal
      @RaghavPal  7 месяцев назад

      So nice of you Saba

  • @sarveshwarsingh1308
    @sarveshwarsingh1308 Год назад +1

    How can i connect my java program to this database? What should i write in my maven dependency and what should i write in Class.forName for this ? Please reply , Urgent help needed.

    • @RaghavPal
      @RaghavPal  Год назад

      Hi Sarvesh
      This is a test db with minimal features, space and speed, It may not work very smoothly, but still if you want to try for testing purpose, here is some Java code to connect to a SQL database:
      ```java
      import java.sql.*;
      public class SQLDatabaseConnection {
      public static void main(String[] args) throws SQLException {
      // Load the JDBC driver
      try {
      Class.forName("com.mysql.jdbc.Driver");
      } catch (ClassNotFoundException e) {
      System.out.println("Error loading JDBC driver: " + e.getMessage());
      return;
      }
      // Create a connection to the database
      String url = "jdbc:mysql://localhost:3306/mydatabase";
      String username = "root";
      String password = "password";
      Connection connection = DriverManager.getConnection(url, username, password);
      // Do something with the connection
      Statement statement = connection.createStatement();
      ResultSet resultSet = statement.executeQuery("SELECT * FROM users");
      while (resultSet.next()) {
      System.out.println(resultSet.getString("username"));
      }
      // Close the connection
      connection.close();
      }
      }
      ```
      This code will connect to a MySQL database on the local machine. The username and password are hardcoded, but you can replace them with your own credentials.
      The `Class.forName()` method loads the JDBC driver for MySQL. The `DriverManager.getConnection()` method creates a connection to the database. The `Statement.executeQuery()` method executes a SQL query and returns a `ResultSet` object. The `ResultSet.next()` method advances the `ResultSet` object to the next row. The `ResultSet.getString()` method returns the value of a column in the current row.
      Once you have finished working with the database, you should close the connection using the `Connection.close()` method.
      I hope this helps

  • @prashanttraka9279
    @prashanttraka9279 2 года назад +1

    Hello Raghav
    Just wondering whether Playwright with Java Tutorial is already in your Pipeline.
    Thanks

  • @prathamsinha946
    @prathamsinha946 5 месяцев назад

    When deploying "Port scan timeout reached, failed to detect open port 3306 from PORT environment variable. Bind your service to port 3306 or update the PORT environment variable to the correct port", this error is shown. How to tackle this ? Help needed.

    • @RaghavPal
      @RaghavPal  5 месяцев назад

      Pratham
      The error message indicates that the port scan timeout has been reached, and the system failed to detect an open port 3306 from the PORT environment variable. This is likely because your service is not bound to port 3306, which is the default port for MySQL.
      To tackle this issue, you have two options:
      Option 1: Bind your service to port 3306
      You need to ensure that your service is listening on port 3306. This might involve updating your application's configuration or code to bind to this port. For example, if you're using a Node.js application with a MySQL connection, you might need to update your server.js file to include the following code:
      const mysql = require('mysql');
      const db = mysql.createConnection({
      host: 'your_host',
      user: 'your_username',
      password: 'your_password',
      database: 'your_database',
      port: 3306 // Make sure to specify the port here
      });
      db.connect((err) => {
      if (err) {
      console.error('Error connecting to database:', err);
      return;
      }
      console.log('Connected to database');
      });
      Option 2: Update the PORT environment variable
      Alternatively, you can update the PORT environment variable to the correct port that your service is listening on. This might involve updating your environment variables or configuration files.
      For example, if your service is listening on port 8080, you can update the PORT environment variable to 8080. This will allow the system to detect the open port correctly.
      To update the PORT environment variable, you can follow these steps:
      Go to your FreeSQLDatabase.com dashboard and navigate to your database instance.
      Click on the "Environment Variables" tab.
      Update the PORT variable to the correct port number (e.g., 8080).
      Save the changes.
      After making these changes, try redeploying your application to see if the issue is resolved.
      -

  • @Adityakumar00175
    @Adityakumar00175 10 месяцев назад

    Sir i want to connect it with my next js project how can i do that? Could you please explain

    • @RaghavPal
      @RaghavPal  10 месяцев назад +1

      have not tried this Aditya..will need to check its documentation

  • @sarahahmed2112
    @sarahahmed2112 Год назад

    Thank you for this video! Is this secure for keeping information long-term? For example, if I want to create a database to keep all the information on my personal website.

    • @RaghavPal
      @RaghavPal  Год назад

      Hi Sarah, no, this is just for testing and demo purpose, do not use it for any of your primary needs, Also it is not consistent and may not be available all time

    • @bakusland2671
      @bakusland2671 Год назад

      @@RaghavPal why this website does not work?

    • @RaghavPal
      @RaghavPal  Год назад

      Not sure, it may be down or not maintained now

  • @clashon9940
    @clashon9940 9 месяцев назад

    Can we use it as a alternative for planetscale

    • @RaghavPal
      @RaghavPal  9 месяцев назад

      Dev
      I don't think it can be used as alternative to a paid DB with all features. It can be good for a demo or small testing purposes

  • @User1Rizz
    @User1Rizz 10 месяцев назад

    Is it possible to use this in other programming language? Cause I don't use PHP

    • @RaghavPal
      @RaghavPal  10 месяцев назад

      will need to check the documentation

  • @XmadeIT
    @XmadeIT 9 месяцев назад

    Hie Sir..Great video..i have a java project and I want to use the online data so my software can access it when i install on another pc..how do I connect it with this database..im supposed to submit it as my school project..im currently using wampserver so its only running on my pc..thank you

    • @RaghavPal
      @RaghavPal  9 месяцев назад +2

      Connecting your Java project to an online MySQL database hosted on freesqldatabase.com involves a few steps. Let's break it down:
      1. Database Setup on freesqldatabase.com:
      - First, create an account on [freesqldatabase.com](www.freesqldatabase.com/).
      - Log in and create a new database. Note down the database name, username, and password provided by the hosting service.
      2. Java Code Configuration:
      - In your Java project, you'll need to use the MySQL JDBC driver to connect to the remote database.
      - Make sure you have the MySQL Connector/J library (JDBC driver) added to your project. If not, download it from [here](dev.mysql.com/downloads/connector/j/) and add it to your classpath.
      3. Connecting to the Remote Database:
      - Replace the placeholders in the following code snippet with your actual database details:
      ```java
      import java.sql.Connection;
      import java.sql.DriverManager;
      import java.sql.SQLException;
      public class DatabaseConnection {
      public static void main(String[] args) {
      String url = "jdbc:mysql://sql5.freesqldatabase.com:3306/your-database-name"; // Replace with your database URL
      String username = "your-username"; // Replace with your database username
      String password = "your-password"; // Replace with your database password
      try {
      // Load the MySQL driver
      Class.forName("com.mysql.cj.jdbc.Driver");
      // Establish the connection
      Connection connection = DriverManager.getConnection(url, username, password);
      // Now you can execute queries or perform other database operations
      // For example:
      // connection.createStatement().execute("SELECT * FROM your_table");
      // Close the connection when done
      connection.close();
      System.out.println("Connected successfully!");
      } catch (ClassNotFoundException | SQLException e) {
      e.printStackTrace();
      System.err.println("Error connecting to the database.");
      }
      }
      }
      ```
      4. Testing the Connection:
      - Compile and run the above Java class. If everything is set up correctly, it should connect to your remote database.
      - Make sure your hosting provider allows remote connections. Some providers restrict external access for security reasons. If you encounter issues, check with your hosting support.
      5. Security Considerations:
      - Ensure that your database credentials (username and password) are kept secure. Avoid hardcoding them directly in your code; consider using environment variables or configuration files.
      - Use prepared statements to prevent SQL injection attacks.
      Remember to replace the placeholders (`your-database-name`, `your-username`, and `your-password`) with your actual database information.
      Good luck with your school project

    • @XmadeIT
      @XmadeIT 9 месяцев назад

      @@RaghavPal Thank You sir..we need more people like you🙏

  • @matteoandreoli1400
    @matteoandreoli1400 2 месяца назад

    Can't access my database anymore, can't add more mb to my space...
    no one reply to my tickets. Please help

    • @RaghavPal
      @RaghavPal  2 месяца назад

      Matteo
      pls use this only for some demo or testing purposes. don't rely on this for actual work

  • @lakshayamahajan
    @lakshayamahajan 2 года назад

    Thank you for such a helping Video. Sir i have a query, basically I made a access based software and I wanna sync access database even when it's in use by exe file linked to database is it possible?

    • @RaghavPal
      @RaghavPal  2 года назад

      Hi Lakshaya, not very sure on this, will need to take online help

  • @crazy_tolstoy
    @crazy_tolstoy Год назад

    Is there option to make php script or something similar, like you can do in xampp with placing php script in htdocs?

    • @RaghavPal
      @RaghavPal  Год назад

      Yes, you can run PHP scripts on your local machine by setting up a web server environment like XAMPP or WAMP. Here's how you can do it:
      Install XAMPP (or WAMP): Download and install XAMPP (or WAMP) from the official website. These packages provide a complete web server environment that includes PHP, Apache, MySQL, and other necessary components.
      Start the server: Once installed, start the Apache server from the XAMPP control panel (or WAMP control panel).
      Create a PHP script: In the XAMPP installation directory, you will find a folder named "htdocs" (for XAMPP) or "www" (for WAMP). Place your PHP script in this folder or create a subfolder to organize your scripts.
      Access the PHP script: Open your web browser and type "localhost" in the address bar. If everything is set up correctly, it will display the XAMPP (or WAMP) default page. To run your PHP script, you can access it by navigating to localhost//.php in the browser.
      For example, if you have a script named "my_script.php" located in a folder named "scripts" inside the "htdocs" (or "www") folder, you can access it using localhost/scripts/my_script.php.
      By following these steps, you can run PHP scripts locally on your machine using XAMPP (or WAMP). Remember to start the server each time you want to run PHP scripts in your local web server environment.

  • @taniyasingla7609
    @taniyasingla7609 10 месяцев назад

    When I created the account on myfreesqldatabase it’s not get login on phpmyadmin it’s showing error how I can resolve that.

    • @RaghavPal
      @RaghavPal  10 месяцев назад

      Taniya
      will need to check based on the error message you are getting..

  • @taniyasingla7609
    @taniyasingla7609 10 месяцев назад

    Now I logged in correctly in Phpmyadmin but after creating tables I have to login in the admin page but I’m unable to do that may be the values of tables are not taken by the website.

    • @RaghavPal
      @RaghavPal  10 месяцев назад

      Taniya
      will need to check some online examples on this

  • @prasanthkumarbommisetti379
    @prasanthkumarbommisetti379 9 месяцев назад

    Could you please assist me in finding the driver and driver class for this database?

    • @RaghavPal
      @RaghavPal  9 месяцев назад

      Prasanth
      1. Database Type:
      - The database provided by FreeSQLDatabase.com is MySQL-based. Therefore, you'll need the MySQL ODBC driver to connect to it.
      2. Driver and Connection String:
      - To connect to your FreeSQLDatabase.com database using Classic ASP, you can use the following connection string:
      ```asp
      set conn=Server.CreateObject("ADODB.Connection")
      conn.Open "Driver={MySQL ODBC 5.2 UNICODE Driver};Server=sql3.freesqldatabase.com;Database=dbname;User=username;Password=password;Option=3;"
      ```
      Replace `dbname`, `username`, and `password` with your actual database name, username, and password provided by FreeSQLDatabase.com.
      - Note that the version number in the driver name (`MySQL ODBC 5.2 UNICODE Driver`) should match the version you have installed on your server
      3. Port Number:
      - Make sure to include the correct port number in your connection string if you intend to connect remotely via TCP/IP. If FreeSQLDatabase.com specifies a port number, add it to the connection string:
      ```asp
      conn.Open "Driver={MySQL ODBC 5.2 UNICODE Driver};Server=sql3.freesqldatabase.com;Database=dbname;Port=1234;User=username;Password=password;Option=3;"
      ```
      Replace `1234` with the actual port number provided by FreeSQLDatabase.com.
      Remember to replace placeholders with your actual database details, and you should be able to connect successfully.

  • @tuobraun
    @tuobraun 2 года назад +2

    Thank you for such a helpful video. Can you recommend an db-client for Mac (ideally that runs natively on ARM)?

    • @RaghavPal
      @RaghavPal  2 года назад +1

      Hi Vadim, for Mac you can try
      Workbench
      PopSQL

  • @cesarmali446
    @cesarmali446 Год назад

    It was a great Tutorial. Where to put the script? Like in XAMP we place it on htdocs

  • @kapilchouhan9981
    @kapilchouhan9981 4 месяца назад

    Can we connect this online database with nodejs?

    • @RaghavPal
      @RaghavPal  4 месяца назад

      I have not tried. You should be able to. But this is just for small demo and testing purpose. Try these steps:
      Step 1: Install the mysql2 package
      Run the following command in your terminal:
      npm install mysql2
      Step 2: Get your database credentials
      Log in to your freesqldatabase.com account and go to the "Databases" tab. Click on the three dots next to your database name and select "Edit". Scroll down to the "Connection Details" section and note down the following:
      Host
      Database name
      Username
      Password
      Step 3: Create a Node.js script to connect to your database
      Create a new JavaScript file (e.g., db.js) and add the following code:
      const mysql = require('mysql2/promise');
      const dbConfig = {
      host: 'your_host',
      user: 'your_username',
      password: 'your_password',
      database: 'your_database_name',
      };
      async function connectToDatabase() {
      try {
      const connection = await mysql.createConnection(dbConfig);
      console.log('Connected to database!');
      return connection;
      } catch (error) {
      console.error('Error connecting to database:', error);
      return null;
      }
      }
      // Example usage:
      async function main() {
      const connection = await connectToDatabase();
      if (connection) {
      // You can now use the connection to query your database
      const [rows] = await connection.execute('SELECT * FROM your_table_name');
      console.log(rows);
      }
      }
      main();
      Replace the placeholders (your_host, your_username, your_password, your_database_name, and your_table_name) with your actual database credentials and table name.
      Step 4: Run the script
      Run the script using Node.js:
      node db.js
      If everything is set up correctly, you should see a "Connected to database!" message, followed by the results of the example query
      -

    • @kapilchouhan9981
      @kapilchouhan9981 4 месяца назад

      @@RaghavPal thank a lot, I tried in the same way and it's work🔥

  • @siemyangsaputra9427
    @siemyangsaputra9427 Год назад

    Thx for video... I need help ... already create table on phpmyadmin.. but when using heidiSQL got error .. cant get hostname for your address

    • @RaghavPal
      @RaghavPal  Год назад

      will need to check with some online examples

    • @siemyangsaputra9427
      @siemyangsaputra9427 Год назад

      @@RaghavPal thank you ... waiting for the good news

  • @Bolajilukman-p7g
    @Bolajilukman-p7g 5 месяцев назад

    Hello, pls i was trying to login with my details to phpadmin but is not going. I dont know where the error is. Pls put me through

    • @RaghavPal
      @RaghavPal  5 месяцев назад

      will need to check details

  • @nikilite
    @nikilite Год назад

    I can't connect it with wordpress. How to solve?

    • @RaghavPal
      @RaghavPal  Год назад

      Not sure, will need to check on that

  • @syazwinafadzalisham9536
    @syazwinafadzalisham9536 Год назад

    Hi sir, thank you for the tutorial. But can i know how to connect mysql in cloud with python code in local server

    • @RaghavPal
      @RaghavPal  Год назад

      Hi Nur
      If I get sometime, I will plan to do a session, for now you can check and try with some online examples

  • @nil_gaming
    @nil_gaming Год назад

    Does anyone knows how to connect this with java servlet? And what's the driver we need to add?

    • @RaghavPal
      @RaghavPal  Год назад

      you will need to add the MySQL JDBC driver to your project. The MySQL JDBC driver is a library that allows Java applications to connect to MySQL databases
      will need to check for this online

  • @abhijitkambli2932
    @abhijitkambli2932 Год назад

    Thanks raghav for gr8 tutorial. Very easy and simple.

  • @nadine-qh9pi
    @nadine-qh9pi 8 месяцев назад

    thanks man nice video, but how do i grant access the database?

    • @RaghavPal
      @RaghavPal  8 месяцев назад

      Once you setup the DB, you can use it, I did not get exactly what access do you need, can send more details. In General:
      Connecting your project to a MySQL database involves establishing a connection from your application code to the database server. I'll provide instructions for different programming languages and environments:
      1. PHP:
      - If you're using PHP, you can connect to a MySQL database using either the MySQLi extension (object-oriented or procedural) or PDO (PHP Data Objects).
      - Here are examples for both approaches:
      - MySQLi (Object-Oriented):
      ```php
      ```
      - MySQLi (Procedural):
      ```php
      ```
      - PDO:
      ```php
      ```
      2. Node.js:
      - For connecting a Node.js application to a MySQL database, you'll need the mysql module.
      - Initialize your Node.js project, download the mysql module, and create a connection using the `createConnection()` method.
      - Example:
      ```javascript
      const mysql = require("mysql");
      const connection = mysql.createConnection({
      host: "localhost",
      user: "your_username",
      password: "your_password",
      database: "your_database"
      });
      connection.connect((err) => {
      if (err) {
      console.error("Error connecting to MySQL:", err);
      return;
      }
      console.log("Connected to MySQL!");
      });
      ```
      3. Java:
      - In Java, you can use JDBC (Java Database Connectivity) to connect to a MySQL database.
      - Make sure you have the MySQL JDBC driver (Connector/J) in your project.
      - Example:
      ```java
      import java.sql.Connection;
      import java.sql.DriverManager;
      import java.sql.SQLException;
      public class Main {
      public static void main(String[] args) {
      String url = "jdbc:mysql://localhost:3306/your_database";
      String username = "your_username";
      String password = "your_password";
      try {
      Connection conn = DriverManager.getConnection(url, username, password);
      System.out.println("Connected to MySQL!");
      } catch (SQLException e) {
      System.err.println("Connection failed: " + e.getMessage());
      }
      }
      }
      ```
      Remember to replace `"your_username"`, `"your_password"`, and `"your_database"` with your actual database credentials. Once connected, you can execute queries and interact with your MySQL database.
      --

  • @gharparseekhe
    @gharparseekhe 10 месяцев назад

    How to conncet it with power bi please let me know

    • @RaghavPal
      @RaghavPal  10 месяцев назад +1

      i have not tried this.. will need to check online

  • @zenoxhunter
    @zenoxhunter 2 года назад

    Great Tutorial! But i have a problem with Heidi, it tells me "Access Denied for User". How can I fix it?

    • @RaghavPal
      @RaghavPal  2 года назад +1

      will need to check, What I did is shown in the video

    • @zenoxhunter
      @zenoxhunter 2 года назад

      @@RaghavPal I followed the tutorial and it is explained easily but the pc gives me this error

    • @RaghavPal
      @RaghavPal  2 года назад

      ok, can try some online examples

  • @fejotore
    @fejotore 2 года назад

    how many users (i.e. programmers) can connect to the DB to work with it?

    • @RaghavPal
      @RaghavPal  2 года назад +1

      Hi Felix, I believe for this Free one it will be one user and in any case it will be very slow, can be used for some temporary testing purpose or demo

  • @This_is_OM
    @This_is_OM 10 месяцев назад

    Brother is this a lifetime database? because 1 week later it shows Credential does not match. If it get changed after sometime, then how can i use it in a software like windows forms or JAVA for productions?

    • @RaghavPal
      @RaghavPal  10 месяцев назад

      Om
      Cannot rely on this as this is free demo db.. can use it just for demo or for some demo testing.

  • @MariaLopez-ng7vd
    @MariaLopez-ng7vd 2 года назад

    Thanks a lot !!! very good video. 1000 thanks ! But sir Raghav, excume me, I would like to know, how many simulteneanous connections, is posible to have ??

    • @RaghavPal
      @RaghavPal  2 года назад

      Hi Maria, i have not tried, you can try and check, in any case, it is a public, temp db, so it will be slow, can use it for temporary testing or demo purpose only

    • @MariaLopez-ng7vd
      @MariaLopez-ng7vd 2 года назад

      Hi Sir Raghav, thank you. I will try later. Again thanks a lot.

  • @nitinbhattacharyya8784
    @nitinbhattacharyya8784 Год назад

    Im aws,for free tier we need to turn off the database after use else it might attract hidden charges,is there any such thing on this website?Can we keep our database live all the time with this website?

    • @RaghavPal
      @RaghavPal  Год назад

      Nitin
      Yes, In AWS, If you exceed the free tier limits, you will be charged for the additional usage
      This Free MySQL DB can be used for demo and simple testing, I am afraid if you will be able to use for hosting websites

    • @nitinbhattacharyya8784
      @nitinbhattacharyya8784 Год назад

      ​@@RaghavPalI made a account in freesqldatabase but after sometime it showed that my account expired and it deleted my DB. No where it was mentioned that it was only free for a fixed amount of time.

    • @RaghavPal
      @RaghavPal  Год назад

      ok, I also recieved some comments saying that now they have made it paid

  • @joeshinong618
    @joeshinong618 11 месяцев назад

    Hi may I know how long will that MySQL database account still free and available for us?

    • @RaghavPal
      @RaghavPal  11 месяцев назад +1

      Joeshin
      I believe the free account remains active as long as you continue to use it.
      If you wish to continue using the service after your free period has expired, you can upgrade to the MySQL Full plan.
      Can find more info on the website www.freesqldatabase.com/

  • @barathkumar5829
    @barathkumar5829 2 года назад

    can i connect this instance in mysql workbench ?

    • @RaghavPal
      @RaghavPal  2 года назад

      Not tried this Barath

  • @HelenoPaiva
    @HelenoPaiva Год назад

    freesqldatabase is doens't allow for login or sign up - any other alternatives?

    • @RaghavPal
      @RaghavPal  Год назад

      Hi Heleno
      There are several alternatives for free SQL databases that you can use for practice and learning purposes. Here are a few options:
      MySQL Community Edition - this is a free and open-source version of the popular MySQL database that you can download and use for free.
      PostgreSQL - this is another popular open-source database that you can download and use for free.
      SQLite - this is a lightweight and easy-to-use SQL database engine that you can use for small projects and learning purposes.
      Microsoft SQL Server Express - this is a free version of Microsoft's SQL Server database that you can use for small-scale applications.
      MariaDB - this is a fork of MySQL that is also free and open-source.
      All of these options have their own strengths and weaknesses, so it's worth doing some research to see which one is best for your particular needs.

  • @MrMneneZhalko
    @MrMneneZhalko Год назад

    Can I use MySQL Workbench with this?

    • @RaghavPal
      @RaghavPal  Год назад +1

      Yes, you can use MySQL Workbench with FreeSQLDatabase
      Here are the steps on how to use MySQL Workbench with FreeSQLDatabase:
      Go to the FreeSQLDatabase website and create an account.
      Once you have created an account, you will be able to create a new database.
      When creating a new database, you will need to specify the following:
      Database name
      Username
      Password
      Once you have created a new database, you will be able to obtain the connection information for the database.
      Open MySQL Workbench and click on the "New Connection" button.
      In the "Connection Name" field, enter a name for the connection.
      In the "Host" field, enter the hostname of the FreeSQLDatabase server.
      In the "Port" field, enter the port number for the FreeSQLDatabase server.
      In the "Database" field, enter the name of the database that you created in step 3.
      In the "Username" field, enter the username that you created in step 3.
      In the "Password" field, enter the password that you created in step 3.
      Click on the "Test Connection" button to test the connection.
      If the connection is successful, you will see a message that says "Connection successful."
      Click on the "OK" button to create the connection.
      Once you have created the connection, you will be able to work with the database in MySQL Workbench. You can create tables, insert data, and execute queries.
      Here are some additional tips for using MySQL Workbench with FreeSQLDatabase:
      You can create multiple connections to different FreeSQLDatabase databases.
      You can save the connection information for each database so that you can easily connect to it in the future.
      You can use MySQL Workbench to manage your FreeSQLDatabase databases, such as creating and deleting databases, and managing users

    • @MrMneneZhalko
      @MrMneneZhalko Год назад

      @@RaghavPal Thank you!

    • @antoniofuller2331
      @antoniofuller2331 11 месяцев назад +1

      Ahh yes

  • @michaelnotarte9847
    @michaelnotarte9847 2 года назад +1

    great tutorial. Thanks alot sir. do you have tutorial also to migrate sql file to phpmyadmin?

    • @RaghavPal
      @RaghavPal  2 года назад

      Thanks Michael, I believe do not have that, Can check all my tutorials here - automationstepbystep.com/

    • @ekramsiraj1432
      @ekramsiraj1432 Год назад

      What if I want my php file to work remotely too....I hosted my website but when I redirect from html page to a php one it jst downloads it to my pc. What shall I do?

  • @abdulnurhussen8242
    @abdulnurhussen8242 10 месяцев назад

    Is it possible to use it for MySQL ?

    • @RaghavPal
      @RaghavPal  10 месяцев назад

      can try it.. and can check its documentation

  • @BaraJepco
    @BaraJepco Год назад

    hello can you help me with this erro when trying to sign in for php
    php_network_getaddresses: getaddrinfo failed: Name or service not known — The server is not responding (or the local server's socket is not correctly configured).

  • @Lemonn5238
    @Lemonn5238 9 месяцев назад

    amazing! and how can i change my DB name ?

    • @RaghavPal
      @RaghavPal  9 месяцев назад

      To change the name of your database on FreeSqlDatabase, follow these steps:
      1. Log In to FreeSqlDatabase:
      - Visit the [FreeSqlDatabase website](www.freesqldatabase.com/).
      - Log in using your credentials.
      2. Access Your Database:
      - Once logged in, navigate to your existing database that you want to rename.
      3. Database Renaming:
      - Look for an option related to database management or settings.
      - There should be an option to rename the database.
      - Provide the new name you want for your database and confirm the change.
      4. Save Changes:
      - Save your changes, and the database will now have the new name.
      Remember to adjust the steps based on the specific interface provided by FreeSqlDatabase. If you encounter any issues, refer to their documentation

  • @manaliverma3779
    @manaliverma3779 2 года назад +3

    really like it. So easy and simple. Thanks for this video.

  • @relaxsleep5148
    @relaxsleep5148 2 года назад

    It's very helpful video for me & everyone Raghav. Thanks a lot

  • @hazimabdoh6303
    @hazimabdoh6303 2 года назад

    dear Mr Raghav , when i tried to login into the phpmyadmindatabase, the following message has appears:
    phpMyAdmin - Error
    Failed to store CSRF token in session! Probably sessions are not working properly. , any help please ..thanks

    • @RaghavPal
      @RaghavPal  2 года назад

      Hi Hazim, pls check this
      github.com/phpmyadmin/phpmyadmin/issues/13404

  • @thread1066
    @thread1066 7 месяцев назад

    Can we connect using node js?

    • @RaghavPal
      @RaghavPal  7 месяцев назад

      I am not sure on this.. can check its documentation

  • @ajayprakash1167
    @ajayprakash1167 Год назад

    Can it be connected to mysql workbench

  • @ahsaninkiad4781
    @ahsaninkiad4781 7 месяцев назад

    when i hit go it just refreshes the page

    • @RaghavPal
      @RaghavPal  7 месяцев назад

      Ahsan, it may be down or some backend issue. You can try other options. Here are some options for creating free MySQL databases online that you can use for testing and demo purposes:
      1. DB Fiddle: An online SQL database playground where you can test, debug, and share SQL snippets. It's great for experimenting with queries
      2. OneCompiler's MySQL Online Editor: Write, compile, debug, run, and test MySQL queries online using OneCompiler
      3. db4free.net: Create an account for free and test your applications. It's useful for ensuring your apps work after a MySQL version update and for learning new features
      --

  • @kacperkepinski4990
    @kacperkepinski4990 2 года назад

    where did you get the url from?

  • @itaisolomon8081
    @itaisolomon8081 Год назад

    can I use c++ to connect to the DB?

    • @RaghavPal
      @RaghavPal  Год назад

      Not sure on this, will need to check

  • @alianufo5016
    @alianufo5016 8 месяцев назад

    But how to connect with my project??

    • @RaghavPal
      @RaghavPal  8 месяцев назад

      Connecting your project to a MySQL database involves establishing a connection from your application code to the database server. I'll provide instructions for different programming languages and environments:
      1. PHP:
      - If you're using PHP, you can connect to a MySQL database using either the MySQLi extension (object-oriented or procedural) or PDO (PHP Data Objects).
      - Here are examples for both approaches:
      - MySQLi (Object-Oriented):
      ```php
      ```
      - MySQLi (Procedural):
      ```php
      ```
      - PDO:
      ```php
      ```
      2. Node.js:
      - For connecting a Node.js application to a MySQL database, you'll need the mysql module.
      - Initialize your Node.js project, download the mysql module, and create a connection using the `createConnection()` method.
      - Example:
      ```javascript
      const mysql = require("mysql");
      const connection = mysql.createConnection({
      host: "localhost",
      user: "your_username",
      password: "your_password",
      database: "your_database"
      });
      connection.connect((err) => {
      if (err) {
      console.error("Error connecting to MySQL:", err);
      return;
      }
      console.log("Connected to MySQL!");
      });
      ```
      3. Java:
      - In Java, you can use JDBC (Java Database Connectivity) to connect to a MySQL database.
      - Make sure you have the MySQL JDBC driver (Connector/J) in your project.
      - Example:
      ```java
      import java.sql.Connection;
      import java.sql.DriverManager;
      import java.sql.SQLException;
      public class Main {
      public static void main(String[] args) {
      String url = "jdbc:mysql://localhost:3306/your_database";
      String username = "your_username";
      String password = "your_password";
      try {
      Connection conn = DriverManager.getConnection(url, username, password);
      System.out.println("Connected to MySQL!");
      } catch (SQLException e) {
      System.err.println("Connection failed: " + e.getMessage());
      }
      }
      }
      ```
      Remember to replace `"your_username"`, `"your_password"`, and `"your_database"` with your actual database credentials. Once connected, you can execute queries and interact with your MySQL database.
      --

  • @RGMUTEX
    @RGMUTEX Год назад

    It's really Helpful. Thanks myn❤️

    • @RaghavPal
      @RaghavPal  Год назад

      Glad it was helpful Ramesh

  • @jacobbj
    @jacobbj 2 года назад

    Do u have other faster mysql hosting? Thanks sir

    • @RaghavPal
      @RaghavPal  2 года назад

      no, will need to check online

  • @bennyInnovator
    @bennyInnovator 10 месяцев назад

    Does it work with django?

    • @RaghavPal
      @RaghavPal  10 месяцев назад

      I have not tried

  • @onyxcyrax4942
    @onyxcyrax4942 6 месяцев назад

    After create and try to login phpmy admin is show #1040- To many connections

    • @RaghavPal
      @RaghavPal  6 месяцев назад

      Step 1: Understand the error message
      The error message `#1040 - Too many connections` indicates that the maximum number of allowed connections to the MySQL database has been reached. This is a common issue when using a free database service, as they often have limitations on the number of concurrent connections.
      Step 2: Check the connection limit
      Visit the www.freesqldatabase.com/freemysqldatabase/ website and check the documentation or FAQs to see what the maximum allowed connections are for their free plan. This will give you an idea of how many connections you're allowed to have.
      Step 3: Check your application's connection usage
      Review your PHP application's code to see how many connections it's making to the database. Are you using persistent connections or are you closing connections properly after each query? Make sure your application is not leaving connections open, which can contribute to reaching the maximum allowed connections.
      Step 4: Check for idle connections
      It's possible that there are idle connections to the database that are not being used. You can try to identify and close these idle connections. You can do this by running a query in phpMyAdmin:
      ```sql
      SHOW PROCESSLIST;
      ```
      This will show you a list of all current connections to the database. Look for connections that have been idle for a long time and consider closing them.
      Step 5: Consider upgrading your plan
      If you're consistently reaching the maximum allowed connections, it might be time to consider upgrading to a paid plan that offers more connections or looking into alternative database services that offer more generous connection limits.
      -

  • @josephmariga
    @josephmariga 2 года назад

    Where do I insert my username and password ? From your example URL their is none at 4.24

    • @RaghavPal
      @RaghavPal  2 года назад

      check this dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-jdbc-url-format.html

  • @shivamshukla7823
    @shivamshukla7823 Год назад

    Sir how to connect our online database to our contact page please me regarding this query

    • @RaghavPal
      @RaghavPal  Год назад

      Hi Shivam, do you want to use the same method as shown in the video? What is your database, will need more details

  • @codebuffs
    @codebuffs Год назад +1

    Man man man , you are a saviour ❤

    • @RaghavPal
      @RaghavPal  Год назад

      Thanks for the kind words

  • @JinShinKai_08
    @JinShinKai_08 Год назад

    I'm getting msg that ur account is expired what does it means ?

    • @RaghavPal
      @RaghavPal  Год назад +1

      it may have some limits on usage or time. Pls check

    • @JinShinKai_08
      @JinShinKai_08 Год назад

      @@RaghavPalthanks for ur help

  • @kjygjkgjk9874
    @kjygjkgjk9874 Год назад

    How mucho space is there avalible?

    • @RaghavPal
      @RaghavPal  Год назад

      For free account I believe its 5MB. It can be used only for testing or demo purposes. Can check more on their website

  • @jebalimazen1809
    @jebalimazen1809 6 месяцев назад

    great video for hobbyists, many thanks sir.

    • @RaghavPal
      @RaghavPal  6 месяцев назад

      You are very welcome Jebali

  • @anand8019
    @anand8019 2 года назад +1

    Thanks for this video. Was very helpful

    • @RaghavPal
      @RaghavPal  2 года назад

      You're welcome Anand

  • @ВикторСлавчев-о1к

    Great video! Is the website working in 2023, because I can't make an account?

    • @RaghavPal
      @RaghavPal  Год назад

      Not sure, will need to check

  • @tranvanthanh1402
    @tranvanthanh1402 Год назад

    #1071 - Specified key was too long; max key length is 767 bytes in sql free online how to solve it . Thanks

    • @RaghavPal
      @RaghavPal  Год назад +1

      Hi Thành
      The "Specified key was too long; max key length is 767 bytes" error usually occurs when you are trying to create an index or key on a column that exceeds the maximum length allowed by your database's configuration. This issue is common in MySQL when using the InnoDB storage engine.
      To solve this issue, you can try one of the following approaches:
      1. Adjust the column length: If the column causing the issue is not required to be that long, you can reduce its length to fit within the maximum key length limit. Alter the table and modify the column length accordingly.
      2. Change the database configuration: By default, MySQL uses the UTF-8 encoding for character sets, which requires more space. You can switch to a different character set like UTF8MB4, which allows longer key lengths. However, note that changing the character set might impact other aspects of your application, so it's important to test and ensure compatibility.
      3. Use a different database engine: If changing the character set or column length doesn't solve the issue, you can consider using a different database engine that supports longer key lengths. For example, you can switch to MyISAM instead of InnoDB, as MyISAM has a higher limit for key length.
      4. Use prefix indexes: If you need to index a long column and reducing its length is not feasible, you can create a prefix index. This index only uses the first few characters of the column for indexing, effectively reducing the key length. However, note that prefix indexes have limitations and might impact performance, so use them judiciously.
      Remember to backup your database before making any changes, especially if you are modifying table structures or switching database engines.

  • @kacperkepinski4990
    @kacperkepinski4990 2 года назад

    how to get data on your website from that?

    • @RaghavPal
      @RaghavPal  2 года назад

      its online public

    • @kacperkepinski4990
      @kacperkepinski4990 2 года назад

      @@RaghavPal when i use this url jdbc I have
      "AxiosError: Unsupported protocol jdbc:
      at dispatchXhrRequest (localhost:3000/static/js/bundle.js:46310:14)

  • @qasimmalik3915
    @qasimmalik3915 Год назад

    awesome video and tutorial but guide one more thing how to change server ?

  • @akokohjoel9854
    @akokohjoel9854 Год назад

    If one wants to subscribe to freesqldatabase when you don't have PayPal can't master card be used?

    • @RaghavPal
      @RaghavPal  Год назад

      Not sure, will need to check

  • @joshimohitmusic.
    @joshimohitmusic. 11 месяцев назад

    Cant we import our sql file ?

    • @RaghavPal
      @RaghavPal  11 месяцев назад

      not sure.. will need to check

  • @SCr_20
    @SCr_20 2 года назад

    is your account at freeSQLDatabase still running? my account was expired yesterday

    • @RaghavPal
      @RaghavPal  2 года назад

      these are temp db, just for testing and demo purpose

  • @vikaspooner9846
    @vikaspooner9846 2 года назад +1

    Hi , Please make a video on running spring boot/java application for free on remote

    • @RaghavPal
      @RaghavPal  2 года назад

      Sure Vikas, I will check

  • @akokohjoel9854
    @akokohjoel9854 Год назад

    Can Ms access be Link to MySQL online?

    • @RaghavPal
      @RaghavPal  Год назад +1

      Hi,
      Yes, it is possible to link Microsoft Access to a MySQL database hosted online.
      To do this, you will need to set up an ODBC (Open Database Connectivity) data source for MySQL on your Windows computer, and then use Microsoft Access to connect to the data source.
      Here are the general steps to follow:
      Install the MySQL ODBC driver on your Windows computer. You can download the driver from the MySQL website.
      Set up a new ODBC data source for MySQL using the Windows ODBC Data Source Administrator tool. To do this, open the tool from the Control Panel, navigate to the System DSN tab, and click the "Add" button. Select the MySQL ODBC driver from the list and follow the prompts to configure the data source, providing the necessary details such as the MySQL server address, port, username, and password.
      In Microsoft Access, open the database that you want to link to the MySQL database.
      From the "External Data" tab, select "ODBC Database" to open the "Get External Data - ODBC Database" wizard.
      In the wizard, select the option to link to the data source by creating a linked table.
      In the next step of the wizard, select the ODBC data source that you created in step 2.
      Follow the prompts to specify the tables or views that you want to link to in the MySQL database.
      Once you have completed these steps, you should be able to access the MySQL data through the linked tables in your Microsoft Access database.
      Note that the performance of the linked tables may depend on the speed and reliability of your internet connection to the MySQL server, as well as the complexity and size of the data being accessed.

    • @akokohjoel9854
      @akokohjoel9854 Год назад

      ​@@RaghavPalthanks so much for your kind response.
      Again with the above video, can I link Phpmyadmin with MS access as front end. With ODBC connector.
      Or are there other approach.

    • @akokohjoel9854
      @akokohjoel9854 Год назад

      I tried it, it work very fine, though slow. But I want annual subscription payment. I don't know how to go about it

  • @ronpb3943
    @ronpb3943 2 года назад

    Can I use foreign keys?

    • @RaghavPal
      @RaghavPal  2 года назад

      not sure on this app, can try

    • @antoniofuller2331
      @antoniofuller2331 11 месяцев назад

      Did it work?

    • @ronpb3943
      @ronpb3943 11 месяцев назад

      @@antoniofuller2331 just use cockroachdb (postgres)

  • @saurabhshirke7329
    @saurabhshirke7329 2 года назад

    Hello Sir,
    I need your help to crack the interview..
    The question is for Rest API autonation..
    How to pass one variable API to another API and explain the connection between them...please help if possible i am stuck in the automation and I took Get and Put request using reqres public apis help

    • @RaghavPal
      @RaghavPal  2 года назад

      Hi Saurabh, what is the tool and platform you are using

    • @saurabhshirke7329
      @saurabhshirke7329 2 года назад

      @@RaghavPal ide Eclipse using java rest assured...I have created MAVEN project...

    • @RaghavPal
      @RaghavPal  2 года назад +1

      will need to check on this with some online examples

    • @saurabhshirke7329
      @saurabhshirke7329 2 года назад

      Ok sir, No worries I have completed task. thank you for your response and your videos keep motivating me. ❤️

  • @KnowledgeTV143
    @KnowledgeTV143 Год назад

    How to connect database using JDBC API

    • @RaghavPal
      @RaghavPal  Год назад

      To connect to a database using the JDBC API, you can follow these steps:
      Load the JDBC driver for the database you want to connect to using the Class.forName() method. For example, if you want to connect to a MySQL database, you would load the MySQL JDBC driver using the following code:
      Class.forName("com.mysql.jdbc.Driver");
      Establish a connection to the database using the DriverManager.getConnection() method. You need to provide the connection URL, username, and password as arguments to this method. The connection URL varies depending on the type of database you are connecting to. For example, to connect to a MySQL database, you would use a connection URL like this:
      java
      String url = "jdbc:mysql://localhost:3306/mydatabase";
      String user = "myuser";
      String password = "mypassword";
      Connection connection = DriverManager.getConnection(url, user, password);
      Once you have established a connection, you can create a Statement object using the Connection.createStatement() method. This object allows you to execute SQL queries and retrieve results from the database. For example, to retrieve all records from a table called "customers", you can use the following code:
      Statement statement = connection.createStatement();
      ResultSet resultSet = statement.executeQuery("SELECT * FROM customers");
      You can then use the ResultSet object to retrieve data from the database. For example, to retrieve the value of a column called "name" from the first row of the result set, you can use the following code:
      resultSet.next();
      String name = resultSet.getString("name");
      After you have finished working with the database, you should close the ResultSet, Statement, and Connection objects in reverse order of creation using their close() methods. For example:
      resultSet.close();
      statement.close();
      connection.close();
      These are the basic steps for connecting to a database using the JDBC API. There are also more advanced features available, such as prepared statements and transactions, which can help improve performance and ensure data consistency.

  • @lahimudith6350
    @lahimudith6350 11 месяцев назад

    Bro...is this not local host 🤔

  • @entity5678
    @entity5678 Год назад

    This is a very helpful video..thank you

    • @RaghavPal
      @RaghavPal  Год назад +1

      Most welcome Alankrith

  • @brothersofgenration9185
    @brothersofgenration9185 Год назад

    Great video sir thanks a lot👏

  • @eshandas3645
    @eshandas3645 8 месяцев назад

    it giving me error while login in php admin

    • @RaghavPal
      @RaghavPal  8 месяцев назад

      will need to check the details

  • @ahmadab9666
    @ahmadab9666 Год назад

    they use old version from mysql database 5.6 and they after weeks or more will stop your accoutn becuse it will be exierd

    • @RaghavPal
      @RaghavPal  Год назад +1

      Ok, If I get better options, will add videos on that

    • @ahmadab9666
      @ahmadab9666 Год назад

      @@RaghavPal thanks alot

  • @TechEase10
    @TechEase10 2 года назад +1

    thank you, this worked for me !!

  • @lazycoder5872
    @lazycoder5872 Год назад

    How do I get the mysql server ip address for this

    • @RaghavPal
      @RaghavPal  Год назад

      I do not remember exactly on this, will need to check the website

    • @lazycoder5872
      @lazycoder5872 Год назад

      @@RaghavPal please check whenever you free and replay back

  • @techindia4766
    @techindia4766 2 года назад

    Hi Raghav Sir, Do we have more video on this.. Like after this If we create table in Mysql, It will be saved on AWS, can we import excel file into Mysql..??

    • @RaghavPal
      @RaghavPal  2 года назад

      for this one, this is the only video to show how to create a Free DB for testing or Demo purpose

    • @techindia4766
      @techindia4766 2 года назад

      @@RaghavPal Can we expect more in future on the same

  • @shreyasdeshmukh3301
    @shreyasdeshmukh3301 6 месяцев назад

    5mb is enough ?

    • @RaghavPal
      @RaghavPal  6 месяцев назад

      yes.. its only for small demo, testing purposes

  • @FirstnameLastname-f2v
    @FirstnameLastname-f2v 10 месяцев назад

    unknown server host error i am getting

    • @RaghavPal
      @RaghavPal  10 месяцев назад

      it may be down

  • @Lucas_software_brute
    @Lucas_software_brute 7 месяцев назад

    website not loading from india

    • @RaghavPal
      @RaghavPal  7 месяцев назад

      Not sure.. may be some backend issue.. can wait and try again

  • @ranilcd
    @ranilcd 2 года назад

    indeed really useful. Thanks Bro.

  • @sagarbora7768
    @sagarbora7768 2 года назад

    bro I wanna deploy mysql db in some paid server
    Please help

    • @RaghavPal
      @RaghavPal  2 года назад

      don't have a session on that, will need to check online guide

  • @sagarbora7768
    @sagarbora7768 2 года назад

    Thanks bro found this helpful

  • @hxqhyz
    @hxqhyz 10 месяцев назад

    I had time to make coffee while waiting for the loading on Phpmyadmin🤣

  • @OnlyPrada
    @OnlyPrada Год назад

    Is their site down

  • @world.unboxer
    @world.unboxer 7 месяцев назад

    Suddenly they expired my account without any prior information

    • @RaghavPal
      @RaghavPal  7 месяцев назад

      cannot say.. check if its for some limited time..

    • @world.unboxer
      @world.unboxer 7 месяцев назад

      @@RaghavPal they haven't mentioned anything on their website. Also they are not replying on email and tickets

    • @RaghavPal
      @RaghavPal  7 месяцев назад

      You can try other options. Here are some options for creating free MySQL databases online that you can use for testing and demo purposes:
      1. DB Fiddle: An online SQL database playground where you can test, debug, and share SQL snippets. It's great for experimenting with queries
      2. OneCompiler's MySQL Online Editor: Write, compile, debug, run, and test MySQL queries online using OneCompiler
      3. db4free.net: Create an account for free and test your applications. It's useful for ensuring your apps work after a MySQL version update and for learning new features
      --

    • @RaghavPal
      @RaghavPal  7 месяцев назад

      You can try other options. Here are some options for creating free MySQL databases online that you can use for testing and demo purposes:
      1. DB Fiddle: An online SQL database playground where you can test, debug, and share SQL snippets. It's great for experimenting with queries
      2. OneCompiler's MySQL Online Editor: Write, compile, debug, run, and test MySQL queries online using OneCompiler
      3. db4free.net: Create an account for free and test your applications. It's useful for ensuring your apps work after a MySQL version update and for learning new features
      --

  • @luisdato1712
    @luisdato1712 Год назад

    It isn't free. I could use this database in 10 day and afterthat it requires at least 16$ per year to continue.

    • @RaghavPal
      @RaghavPal  Год назад

      Use it only for demo and initial test, or just to check the connections

  • @Helpsysteminformatica
    @Helpsysteminformatica Год назад

    the website non working

  • @vikaspooner9846
    @vikaspooner9846 2 года назад

    What a coincidence, i was looking for same a few days ago

    • @RaghavPal
      @RaghavPal  2 года назад

      Great to know Vikas, All the best

  • @nextleveltech267
    @nextleveltech267 9 месяцев назад

    Thank youuuuu....❤❤❤❤❤

  • @alexandraalcantara8394
    @alexandraalcantara8394 2 года назад +1

    Great tutorial, thank you!

    • @RaghavPal
      @RaghavPal  2 года назад

      You're very welcome Alexandra

  • @mileslegend
    @mileslegend 8 месяцев назад

    your amazing thanks you saved me