Hy, Tudom... elso szavatok, mért kezdtem egy új témát amikor már ott a "Milyen??" is...
Nos azért, mert ez egy teljesen másik témakör. (Az az oldal okhoston fut, itt pedig a localhostról lenne szó.)
Nos. Az lenne a problémám, (ami egy cseppet sem elhanyagolható dolog) hogy beconfigoltam a pma-mat, ami mind szép, és jó,
foleg, hogy a login formot is megírtam hozzá, de nem tudom beállítani, hogy pw-t is kérjen...
Csak az alap root userral lehet belépni jelszó nélkül... -.- (Nem túl biztonságos dolog.) (Xampp-ot használok, és ott nincs
alap jelszó.)
Config.inc.php fobb része:
/* Authentication type and info */
$i = 0;
$i++;
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'signon';
$cfg['Servers'][$i]['SignonSession'] = 'SignonSession';
$cfg['Servers'][$i]['SignonURL'] = 'scripts/signon.php';
$cfg['Servers'][$i]['user'] = 'xxxxxxx'; //ezt nem tom mire használja, de egy valós-at adtam meg a
mysql/users-ból
$cfg['Servers'][$i]['password'] = 'xxxxxxx'; //ez is a valós
$cfg['Servers'][$i]['AllowNoPassword'] = true; //nos, ha ezt false-ra állítom, tehát nem engedem neki a
jelszónélküliséget, akkor a root-al sem enged be... (Érdekes, a root-ot kitöröltem a mysql/users-ből mégis beenged azzal...)
mysql/usersben csináltam egy admin - admin usert is (természetesen localhost) azzal sem enged be.
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysqli';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = 'xxxxxxxx'; //ide is dobtam egy jelszót, ezt elfogadja.
/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
EDIT.: Most meg már be sem enged egy gépről sem :S:S:S (Apache ; MySQL restart után)
#1130 - Host 'localhost' is not allowed to connect to this MySQL server
[/s]
--> Megoldva (XAMPP reset)
őőő az miért lehet, hogy a phpmyadminom a szöveges tartalmat így írja ki:[BLOB - 10Bájt] pl. vagy hogy beszúrásnál a szöveges tartalmat feltölteni kel egy txt-ből?