Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Replace with the username and password you used for PhpMyAdmin.
- $server = 'localhost:33067';
- $username = 'drupaluser';
- $password = '';
- $database = 'my_database';
- // Let's connect!
- $connection = mysqli_connect($server, $username, $password, $database);
- if (mysqli_connect_errno()) {
- printf("Connect failed: %sn", mysqli_connect_error());
- exit();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement