Problem z bazą MySQL

Problemy związane ze stronami PHP

Problem z bazą MySQL

Postprzez Anubis » Śr sie 22, 12 14:24

Otóż napotkałem się na problem przy zakładaniu strony, wszystko idzie dobrze do czasu gdy strona instalacji nie prosi o podanie logów do MySQL, gdy wpisze wszystko, to wyskakuje mi taki komunikat:

Nie można połączyć się z bazą danych. Poniżej znajduje się opis błędu.
Access denied for user 'xxxxxxxx'@'xx.xx.x.x (using password: YES)

(oczywiście xxx nie ma tylko są normalne numery)

Warto też chyba wspomnieć, że nie mogę się zalogować do PhpMyAdmin i nasuwa się pytanie czy coś się spiep*zyło, bo napotkałem już podobny temat na forum, ale sprzed pół roku. Proszę o odpowiedź.

Pozdrawiam
Anubis
 
Posty: 3
Dołączył(a): Wt sie 21, 12 11:37

Re: Problem z bazą MySQL

Postprzez majky » Cz sie 23, 12 15:47

Mam ten sam problem. Niedawno zrobiłem stronę i było wszystko ok, teraz jednak coś nie działa. Dodam, że wgrany jest PHP Fusion przez panel administratora, wszystkie CHOMDY zmienione. Próbowałem zrobić drugą baze danych i bez zmian.
Proszę o pomoc.

Wyskakuje taki błąd:

Błąd! Brak możliwości połączenia z bazą danych.
Sprawdź ustawienia, nazwę użytkownika oraz hasło do Twojej bazy danych MySQL.
majky
 
Posty: 1
Dołączył(a): Cz sie 23, 12 15:43

Re: Problem z bazą MySQL

Postprzez Anubis » Cz sie 23, 12 17:00

Czyli, rozumiem, że znów coś się stało z ugu.pl, bo jeszcze 2-3 dni temu kolega strone założył i baza wchodziła, a teraz jak chcem swoją, nową bazę danych dać, to nie można, więc proszę administrację ugu.pl o naprawe tego problemu.
Anubis
 
Posty: 3
Dołączył(a): Wt sie 21, 12 11:37

Re: Problem z bazą MySQL

Postprzez percoz » Śr sie 29, 12 21:13

Wszystkie usługi powinny już działać prawidłowo.
percoz
 
Posty: 612
Dołączył(a): Wt paź 11, 11 13:47

Re: Problem z bazą MySQL

Postprzez Szargat » Wt paź 02, 12 21:02

Mam ten sam problem mam już 2 działające strony i skasowałem dziś starą nieużywaną przez dłuższy czas bazę żeby założyć nową stronę. Po założeniu nowej bazy wyskakuje mi podobny błąd z tym że używam moda przemoBB i niestety baza nie chce mi się logować ;/

Mianowicie:

phpBB by Przemo : Critical Error

Could not connect to the database.
Access denied for user 'dbxxxxx'@'xxxxxxx' (using password: YES)
Szargat
 
Posty: 3
Dołączył(a): So kwi 30, 11 18:12

Re: Problem z bazą MySQL

Postprzez percoz » Śr paź 03, 12 13:17

Wystąpiła awaria MySQL.

Obecnie trwają prace nad jak najszybszym jej usunięciem. Przepraszamy za utrudnienia i prosimy o cierpliwość.
percoz
 
Posty: 612
Dołączył(a): Wt paź 11, 11 13:47

Re: Problem z bazą MySQL

Postprzez matgie » Pn lis 05, 12 18:43

Ten sam problem identyczny komunikat tylko zamiast xxx to mam swoja nazwę forum/użytkownika bazy.
matgie
 
Posty: 1
Dołączył(a): Pn lis 05, 12 18:30

Re: Problem z bazą MySQL

Postprzez percoz » Wt lis 06, 12 17:31

Jesteś pewny, że podajesz prawidłowe informacje wymagane do zalogowania?

Dane te można znaleźć w Panelu Klienta w zakładce "Bazy MySQL -> Zarządzaj"

W ramach przypomnienia:
Nazwa użytkownika jest taka sama jak nazwa bazy danych (nazwa Twojego forum na pewno nie zadziała)
Pamiętaj aby dobrze podać serwer bazy danych (jest podany w Panelu Klienta) - nie należy zostawiać localhost
percoz
 
Posty: 612
Dołączył(a): Wt paź 11, 11 13:47

Re: Problem z bazą MySQL

Postprzez ugunowy » Wt mar 05, 13 18:36

Ja mam coś takiego:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 9You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 17You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 8You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 7You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 7You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 7You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 11You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 9You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 8You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 15You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 6You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 7You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 5You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 9You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 8You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 7You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 6You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 8You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 23You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 7You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 13You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 9You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 21You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 6You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 7You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 10You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 5You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 14You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 13You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 18You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 7You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 17You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 16You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 75You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 9You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 10You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 7You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 8You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 18You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 7You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 8You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 6You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 32You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 8You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 12
Połączono z bazą danych.

Konfiguracja została zapisana poprawnie.

Błąd! Brak możliwości utworzenia tabel w bazie danych.

Mam php Fusion. Pomocy :(
ugunowy
 
Posty: 1
Dołączył(a): Wt mar 05, 13 18:33

Re: Problem z bazą MySQL

Postprzez percoz » Śr mar 06, 13 15:40

Ten problem wynika z tego, iż Twój skrypt nie jest w pełni kompatybilny z wersją MySQl która jest używana na naszych serwerach. Aby go rozwiązać musisz zmienić w pliku instalacyjnym wszystkie wystąpienia "TYPE=MyISAM" na "ENGINE=MyISAM"

Np dla PHP-Fusion7 jest to plik "setup.php"

Po tej zmianie te błędy powinny zniknąć.

Edit: Ehh, oczywiście miało być setup.php. Przepraszam za wprowadzenie w błąd
percoz
 
Posty: 612
Dołączył(a): Wt paź 11, 11 13:47

Re: Problem z bazą MySQL

Postprzez parox » Cz mar 07, 13 16:11

"setup.php" *

Na forum widnieje juz kilka wpisow na ten temat.

http://www.ugu.pl/forum/viewtopic.php?f=2&t=669&p=12632#p12631
Avatar użytkownika
parox
 
Posty: 598
Dołączył(a): Śr maja 23, 07 23:17
Lokalizacja: Prudhoe


Powrót do PHP

Copyright © 2007-2011 ugu.pl
Wszelkie prawa zastrzeżone.
Polityka prywatności

cron