nonii nyt mythtv saa jotain aikaan mutta pitää aina kirjottaa tämä että toimii
sudo mysqld_safe --skip-grant-tables
kokeilin
sudo service mysql start
mutta sillä ei mythtv browserissa lähde päälle
Update
virittimen asensi mythtv-setupista
mutta siltikkään tuo nettisivu näy samaa tekstiä huutaa eikä tämä
sudo mysqld_safe --skip-grant-tables
saa wev sivuakaan auki
Bug report:
datetime: 2012-11-06 21:16:28 (EET)
errornum: 256
error type: User Error
error string: !!NoTrans: Access denied for user 'mythtv'@'localhost' (using password: YES) [#1045]
Backtrace
Array
(
[0] => Array
(
[file] => /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
[line] => 63
[function] => error
[class] => Database
[object] => Database_mysql Object
(
[dbh] =>
[error] => Access denied for user 'mythtv'@'localhost' (using password: YES) [#1045]
[err] => Access denied for user 'mythtv'@'localhost' (using password: YES)
[errno] => 1045
[last_sh] => Database_Query_mysql Object
(
[dbh] =>
[query] => Array
(
[0] => SET NAMES utf8;
)
[last_query] => SET NAMES utf8;
[warnings] => Array ( )
[num_args_needed] => 0
[num_rows] =>
[affected_rows] =>
[insert_id] =>
[db] => Database_mysql Object
*RECURSION*
)
[fatal_errors] => 1
[query_count] => 0
[query_time] => 0
[global_name] =>
[destruct_handlers] => Array ( )
)
[type] => ->
[args] => Array ( )
)
[1] => Array
(
[file] => /usr/share/mythtv/mythweb/classes/Database.php
[line] => 259
[function] => execute
[class] => Database_Query_mysql
[object] => Database_Query_mysql Object
(
[dbh] =>
[query] => Array
(
[0] => SET NAMES utf8;
)
[last_query] => SET NAMES utf8;
[warnings] => Array ( )
[num_args_needed] => 0
[num_rows] =>
[affected_rows] =>
[insert_id] =>
[db] => Database_mysql Object
(
[dbh] =>
[error] => Access denied for user 'mythtv'@'localhost' (using password: YES) [#1045]
[err] => Access denied for user 'mythtv'@'localhost' (using password: YES)
[errno] => 1045
[last_sh] => Database_Query_mysql Object
*RECURSION*
[fatal_errors] => 1
[query_count] => 0
[query_time] => 0
[global_name] =>
[destruct_handlers] => Array ( )
)
)
[type] => ->
[args] => Array
(
[0] => Array ( )
)
)
[2] => Array
(
[file] => /usr/share/mythtv/mythweb/classes/Database.php
[line] => 124
[function] => query
[class] => Database
[object] => Database_mysql Object
(
[dbh] =>
[error] => Access denied for user 'mythtv'@'localhost' (using password: YES) [#1045]
[err] => Access denied for user 'mythtv'@'localhost' (using password: YES)
[errno] => 1045
[last_sh] => Database_Query_mysql Object
(
[dbh] =>
[query] => Array
(
[0] => SET NAMES utf8;
)
[last_query] => SET NAMES utf8;
[warnings] => Array ( )
[num_args_needed] => 0
[num_rows] =>
[affected_rows] =>
[insert_id] =>
[db] => Database_mysql Object
*RECURSION*
)
[fatal_errors] => 1
[query_count] => 0
[query_time] => 0
[global_name] =>
[destruct_handlers] => Array ( )
)
[type] => ->
[args] => Array
(
[0] => SET NAMES utf8;
)
)
[3] => Array
(
[file] => /usr/share/mythtv/mythweb/includes/database.php
[line] => 49
[function] => connect
[class] => Database
[type] => ::
[args] => Array
(
[0] => mythconverg
[1] => mythtv
[2] => YFhqX8xE
[3] => localhost
[4] =>
[5] => mysql
)
)
[4] => Array
(
[file] => /usr/share/mythtv/mythweb/includes/init.php
[line] => 40
[args] => Array
(
[0] => /usr/share/mythtv/mythweb/includes/database.php
)
[function] => require_once
)
[5] => Array
(
[file] => /usr/share/mythtv/mythweb/mythweb.php
[line] => 20
[args] => Array
(
[0] => /usr/share/mythtv/mythweb/includes/init.php
)
[function] => require_once
)
)
!!
filename: /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
error line: 64
==========================================================================
Backtrace:
file: /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
line: 64
class:
function: trigger_error
type:
args: Array
(
[0] => Access denied for user 'mythtv'@'localhost' (using password: YES) [#1045]
Backtrace
Array
(
[0] => Array
(
[file] => /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
[line] => 63
[function] => error
[class] => Database
[object] => Database_mysql Object
(
[dbh] =>
[error] => Access denied for user 'mythtv'@'localhost' (using password: YES) [#1045]
[err] => Access denied for user 'mythtv'@'localhost' (using password: YES)
[errno] => 1045
[last_sh] => Database_Query_mysql Object
(
[dbh] =>
[query] => Array
(
[0] => SET NAMES utf8;
)
[last_query] => SET NAMES utf8;
[warnings] => Array ( )
[num_args_needed] => 0
[num_rows] =>
[affected_rows] =>
[insert_id] =>
[db] => Database_mysql Object
*RECURSION*
)
[fatal_errors] => 1
[query_count] => 0
[query_time] => 0
[global_name] =>
[destruct_handlers] => Array ( )
)
[type] => ->
[args] => Array ( )
)
[1] => Array
(
[file] => /usr/share/mythtv/mythweb/classes/Database.php
[line] => 259
[function] => execute
[class] => Database_Query_mysql
[object] => Database_Query_mysql Object
(
[dbh] =>
[query] => Array
(
[0] => SET NAMES utf8;
)
[last_query] => SET NAMES utf8;
[warnings] => Array ( )
[num_args_needed] => 0
[num_rows] =>
[affected_rows] =>
[insert_id] =>
[db] => Database_mysql Object
(
[dbh] =>
[error] => Access denied for user 'mythtv'@'localhost' (using password: YES) [#1045]
[err] => Access denied for user 'mythtv'@'localhost' (using password: YES)
[errno] => 1045
[last_sh] => Database_Query_mysql Object
*RECURSION*
[fatal_errors] => 1
[query_count] => 0
[query_time] => 0
[global_name] =>
[destruct_handlers] => Array ( )
)
)
[type] => ->
[args] => Array
(
[0] => Array ( )
)
)
[2] => Array
(
[file] => /usr/share/mythtv/mythweb/classes/Database.php
[line] => 124
[function] => query
[class] => Database
[object] => Database_mysql Object
(
[dbh] =>
[error] => Access denied for user 'mythtv'@'localhost' (using password: YES) [#1045]
[err] => Access denied for user 'mythtv'@'localhost' (using password: YES)
[errno] => 1045
[last_sh] => Database_Query_mysql Object
(
[dbh] =>
[query] => Array
(
[0] => SET NAMES utf8;
)
[last_query] => SET NAMES utf8;
[warnings] => Array ( )
[num_args_needed] => 0
[num_rows] =>
[affected_rows] =>
[insert_id] =>
[db] => Database_mysql Object
*RECURSION*
)
[fatal_errors] => 1
[query_count] => 0
[query_time] => 0
[global_name] =>
[destruct_handlers] => Array ( )
)
[type] => ->
[args] => Array
(
[0] => SET NAMES utf8;
)
)
[3] => Array
(
[file] => /usr/share/mythtv/mythweb/includes/database.php
[line] => 49
[function] => connect
[class] => Database
[type] => ::
[args] => Array
(
[0] => mythconverg
[1] => mythtv
[2] => YFhqX8xE
[3] => localhost
[4] =>
[5] => mysql
)
)
[4] => Array
(
[file] => /usr/share/mythtv/mythweb/includes/init.php
[line] => 40
[args] => Array
(
[0] => /usr/share/mythtv/mythweb/includes/database.php
)
[function] => require_once
)
[5] => Array
(
[file] => /usr/share/mythtv/mythweb/mythweb.php
[line] => 20
[args] => Array
(
[0] => /usr/share/mythtv/mythweb/includes/init.php
)
[function] => require_once
)
)
[1] => 256
)
file: /usr/share/mythtv/mythweb/classes/Database.php
line: 259
class: Database_Query_mysql
function: execute
type: ->
args: Array
(
[0] => Array ( )
)
file: /usr/share/mythtv/mythweb/classes/Database.php
line: 124
class: Database
function: query
type: ->
args: Array
(
[0] => SET NAMES utf8;
)
file: /usr/share/mythtv/mythweb/includes/database.php
line: 49
class: Database
function: connect
type: ::
args: Array
(
[0] => mythconverg
[1] => mythtv
[2] => YFhqX8xE
[3] => localhost
[4] =>
[5] => mysql
)
file: /usr/share/mythtv/mythweb/includes/init.php
line: 40
class:
function: require_once
type:
args: Array
(
[0] => /usr/share/mythtv/mythweb/includes/database.php
)
file: /usr/share/mythtv/mythweb/mythweb.php
line: 20
class:
function: require_once
type:
args: Array
(
[0] => /usr/share/mythtv/mythweb/includes/init.php
)
==========================================================================
$_SESSION: Array
(
[language] => Finnish
)
==========================================================================
$_SERVER: Array
(
[REDIRECT_STATUS] => 200
[db_server] => localhost
[db_name] => mythconverg
[db_login] => mythtv
[db_password] => YFhqX8xE
[HTTP_HOST] => 192.168.100.22
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_LANGUAGE] => fi-fi,fi;q=0.8,en-us;q=0.5,en;q=0.3
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_CONNECTION] => keep-alive
[HTTP_COOKIE] => mythweb_id=b85av6n9amldqdmk8eah87gv75
[PATH] => /usr/local/bin:/usr/bin:/bin
[SERVER_SIGNATURE] => <address>Apache/2.2.22 (Ubuntu) Server at 192.168.100.22 Port 80</address>
[SERVER_SOFTWARE] => Apache/2.2.22 (Ubuntu)
[SERVER_NAME] => 192.168.100.22
[SERVER_ADDR] => 192.168.100.22
[SERVER_PORT] => 80
[REMOTE_ADDR] => 192.168.100.12
[DOCUMENT_ROOT] => /var/www
[SERVER_ADMIN] => webmaster@localhost
[SCRIPT_FILENAME] => /var/www/mythweb/mythweb.php
[REMOTE_PORT] => 51299
[REDIRECT_URL] => /mythweb/
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /mythweb/
[SCRIPT_NAME] => /mythweb/mythweb.php
[PHP_SELF] => /mythweb/mythweb.php
[REQUEST_TIME] => 1352229388
[STATUS] => 200
[URL] => /mythweb/
)
==========================================================================
$constant_list["user"]: Array
(
[ERROR] => 512
[E_ASSERT_ERROR] => 4096
[FATAL] => 256
[PHP_MIN_VERSION] => 5,3
[WARNING] => 1024
)