What do you want to save?
Add Code snippet
New code examples
-
Java 2021-10-29 03:26:06
java sql connection example
import java.sql.*; class MySQLConnection{ public static final String DBNAME = "name_of_the_database"; // Like "testDB" /** JDBC driver name and database URL */ public static final String JDBC_DRIVER = "com.mysql.jdbc.Driver&qu... Add solution -
PHP 2021-10-28 02:16:10
ubuntu install php
# Update packages lists sudo apt update # Install Apache2 (on Ubuntu, mostly it's already installed) sudo apt install apache2 # Install the latest version of PHP and Apache wrapper sudo apt install php libapache2-mod-php # Install some important PHP ex... Add solution -
SQL 2021-10-23 15:18:08
ubuntu reset mysql root password
Set / change / reset the MySQL root password on Ubuntu Linux. Enter the following lines in your terminal. Stop the MySQL Server: sudo /etc/init.d/mysql stop Start the mysqld configuration: sudo mysqld --skip-grant-tables & In some cases, you've to c... Add solution -
SQL 2021-10-21 23:08:12
download mysql database to excel in android studio
<?php $dbhost= "localhost"; //your MySQL Server $dbuser = "root"; //your MySQL User Name $dbpass = ""; //your MySQL Password $dbname = "smkkimmanuel2"; //your MySQL Database Name of which database to use th... Add solution -
SQL 2021-10-13 15:08:09
how to change the port on xampp mysql
Step 1: First, reach in the folder where you have installed your Xampp Software. Step 2: After that, go to the destination file – mysql/bin/my.ini (The ‘my‘ file with extension of Configuration Settings) Step 3: In that file, you&rsquo... Add solution -
Other 2021-10-09 00:12:11
localhost ERROR 2006 (HY000) at line 1163: MySQL server has gone away
1. SSH or SFTP to the Server 2. Look for my.cnf with whereis command (my.cnf can be found on linux: /etc/mysql) 4. Add the following line to my.cnf: max_allowed_packet=64M 5. Save and close the file 6. Restart MySQL server using or Restart the Server Add solution -
SQL 2021-09-30 12:51:02
mysql allow only local connections
If you restrict access from remote hosts to your usernames and passwords then someone won't be able to access the database externally. You could also configure your firewall to only allow traffic to 3306 (MySQL Default Port) from the localhost machine. ... Add solution -
SQL 2021-09-28 04:23:06
umgebungsvariable setzen für mysql 8
For windows users only! I had a lot of trouble for this one, but I found the solution. Visit this page: https://overiq.com/installing-mysql-windows-linux-and-mac/ And then follow the steps, but instead of putting this (in step 5): C:\Program Files\MySQL\... Add solution