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 08:07:12
php mysql search database and display results
<?php $con= new mysqli("localhost","root","","Employee"); $name = $_post['search']; //$query = "SELECT * FROM employees // WHERE first_name LIKE '%{$name}%' OR last_name LIKE '%{$name}%'"... Add solution -
Other 2021-10-27 08:56:04
Access denied for user @'localhost' (using password: YES)
sudo /etc/init.d/mysql stop Now start up MySQL in safe mode, so you’ll skip the privileges table: sudo mysqld_safe --skip-grant-tables & // if you face issue,[mysqld_safe Directory '/var/run/mysqld' for UNIX socket file don't exists] run b... Add solution -
SQL 2021-10-14 07:18:03
sql example
-- SQL examples --------------------------------------------------------------------------------------------------- -- http://inf-schule-db.informatik.uni-kl.de/SQLterra1.php -------------------------------------------------------- -- https://www.inf-sch... 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 -
SQL 2021-10-09 23:07:08
mysql shutdown unexpectedly xampp
STOP! Please do NOT delete ibdata1 file! Deleting this file is like playing a Russian roulette with your databases, it could work and restablish everything, but also, probably could leave unusable every database you have. Instead, first try using the My... Add solution -
PHP 2021-10-04 17:44:04
laravel lumen use 2 databases
First, you'll need to configure your connections. If you don't already have one you'll need to create a config directory in your project and add the file config/database.php. It might look like this: <?php return [ 'default' => 'accounts', ... Add solution -
SQL 2021-09-30 23:18:04
mysql error 1146
#To fix the replication error follow the steps below. #1. First, we log into the MYSQL. mysql -u root -p #2. On the MySQL shell, we check the slave status. mysql> SHOW SLAVE STATUS #The sample result as follows. mysql> SHOW SLAVE STATUS *****... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5