16.11.2010, 19:34
(16.11.2010, 16:36)idefixjm Wrote: das mit dem bot geht aber immer noch nicht...That's the problem of f*cking closed-source bots. Take iNk bot, that's another windoze exe which won't work in Linux.
was soll ich da machen?
If someone can suggest a good bot, written in PHP, I'ld be happy.
(16.11.2010, 16:46)idefixjm Wrote: er ist ja da, aber ich kann localhost/phpmyadmin nicht öffnen...phpMyAdmin is not installed by default due to its size.
Not Found
The requested URL /phpmyadmin/ was not found on this server.
To run MySQL commands, create a php file and put the query in it. Example:
PHP Code:
<?php
$sql = <<<SQL
CREATE TABLE example (id INT UNSIGNED, row VARCHAR(25), PRIMARY KEY(id)) AUTO_INCREMENT=1;
SQL;
include 'include/config.php';
$my = mysql_connect($config['db_host'], $config['db_user'], $config['db_pw']) or die('Cannot establish a database connection');
mysql_select_db($config['db_name'], $my) or die('Cannot select a database');
mysql_query($sql) or die("Query failed");
?>
If you want phpMyAdmin anyway, you should run the following commands in terminal:
Code:
cd /opt/twlan/htdocs && sudo wget 'http://mesh.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.11.11-english.tar.gz' && sudo tar xzf phpMyAdmin-2.11.11-english.tar.gz && sudo mv phpMyAdmin-2.11.11-english phpmyadmin && echo OK || echo FAIL
Found my post helpful? Rate me
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)