Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $servername="localhost";
- $username="root";
- $password="whatever";
- $conn = new mysqli($servername, $username, $password);
- if (!$conn) {
- die("Failed : " . mysqli.connect_error());
- }
- echo "Connection Successful!";
- ?>
- Warning: A link to the server could not be established.
- url=jdbc:mysql://localhost/?
- jdbcCompliantTruncation=false&characterSetResults=ISO885_1&characterEncoding=ISO8859_1&userServerPrepStmts=true
- driver=com.mysql.jdbc.Driver com.caucho.quercus.QuercusModuleException:java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
- Connection Successful!
Add Comment
Please, Sign In to add comment