Postado Outubro 16, 2014 10 anos to com o seguinte erro ao tentar instalar o site gesior Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp1.6.5\htdocs\config-and-functions.php on line 20Nao foi possível conectar ao MySql: Access denied for user 'root'@'localhost' (using password: YES) ops estou com dois xampp instalados um mais atual e outro 1.6.5 pode ser conflito? ja foi resolvido esse problema, acho que tava dando conflito entao desinstalei os dois e instalei depois o xampp 1.6.5 agora to com o seguinte erro Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'otserv.z_news_tickers' doesn't exist' in C:\xampp\htdocs\latestnews.php:80 Stack trace: #0 C:\xampp\htdocs\latestnews.php(80): PDO->query('SELECT * FROM `...') #1 C:\xampp\htdocs\index.php(61): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\latestnews.php on line 80 se alguem souber resolver me de uma luz
Postado Outubro 19, 2014 10 anos Use esse comando em sua database: CREATE TABLE IF NOT EXISTS `z_news_tickers` ( `date` int(11) NOT NULL DEFAULT '1', `author` int(11) NOT NULL, `image_id` int(3) NOT NULL DEFAULT '0', `text` text NOT NULL, `hide_ticker` tinyint(1) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; STYLLER OT 2022
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.