Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- # CandyBB v1
- # Configuration file
- # Copyright (c) 2016
- # by chappati21 & Candy
- # Do not copy and call as own!
- # Time to set MySQL data!
- $mysql_host = 'host';
- $mysql_user = 'user';
- $mysql_pass = 'pass';
- $mysql_name = 'name';
- # Now connect to the database
- $connect = mysql_connect($mysql_host, $mysql_user, $mysql_pass);
- $select = mysql_select_db($mysql_name, $connect);
- if (!$connect) {
- die('Error due connecting to <b>'.$mysql_host.'</b>!');
- }
- if (!$select) {
- die('Error due selecting <b>'.$mysql_name.'</b>!');
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement