Setting MySQL database thorugh PhpMyAdmin

This tutorial is also available in Polish and Romanian.


Step 1:

Select your database on the list (left column).

Step 1


Step 2:

Click on SQL from the horizontal menu.

Step 2


Step 3:

Paste the SQL code provided in readme.txt that comes with your sNews and click Go.

Step 3


Step 4:

SQL-query should have been executed successfully and your database is readyto use with sNews.

Step 4


Configuring sNews to connect to your database:

On top of snews.php you'll find settings variables:

$s['dbhost'] = "localhost"; // MySQL host (usually stays localhost)
$s['dbname'] = "mysite_snews"; // Database name (Sometimes has prefix which is your site's username)
$s['dbuname'] = "username"; // Database Username
$s['dbpass'] = "password"; // Database password