Hi, i need to change time on my mysql db but i dont know how.
i have not access to Set timezone.
When i execute select now(); i can see 00:50:20 when its 09:50:20 in my country.
Can someone help me?
Search found 2 matches
- Thu Nov 05, 2015 12:52 am
- Forum: Webhosting
- Topic: Change timezone of database
- Replies: 3
- Views: 2022
- Tue Mar 24, 2015 3:55 pm
- Forum: Webhosting
- Topic: PHP problem
- Replies: 1
- Views: 1149
PHP problem
hi! i have problem with database
ill post code here:
<?php
//baza.php
$mysql_hostname = 'localhost';
$mysql_username = 'xx';
$mysql_password = 'xx';
$mysql_database = 'xx';
$db = mysql_connect($mysql_hostname, $mysql_username, $mysql_password);
if (!$db) {
die('Could not connect: ' . mysql_error ...
ill post code here:
<?php
//baza.php
$mysql_hostname = 'localhost';
$mysql_username = 'xx';
$mysql_password = 'xx';
$mysql_database = 'xx';
$db = mysql_connect($mysql_hostname, $mysql_username, $mysql_password);
if (!$db) {
die('Could not connect: ' . mysql_error ...