[TYPO3-UG Italy] Connect to MySQl/Typo3

Federico Bernardin federico at bernardin.it
Tue Sep 21 09:34:14 CEST 2010


Ciao Daniele,
TYPO3 non gestisce le connessioni al database, ma anche lui si connette e basta, per cui il problema che hai puramente sistemistico.
Devi contattare chi ti ha configurato mysql e vedrai che c'è qualche policy (magari il firewall) che ti sta bloccando, TYPO3 non può bloccarti.

Ciao
Federico

Il giorno 21/set/2010, alle ore 09.17, Daniele Zuco ha scritto:

> Ciao
> Devo accedere la tabella fe_user da uno script jsp che si trova su un altro sito. Ho impostato nella finestra "privilegi" che si accede da phpMyAdmin (interno a typo3) accesso (SELECT,INSERT,DELETE,UPDATE) a tutti gli utenti (%) da qualsiasi host (%) però non si connette ugualmente lo script jsp.
> Ho il dubbio che la stringa di connessione:
> 
> jdbc:mysql://INDIRIZZOIP:3306/Agricoltura?user=usr1&password=
> 
> sia errata. MySQL apre la porta 3306 di default ma forse typo3 fa diversamente.
> daniele
> 
> 
> Federico Bernardin ha scritto:
>> Ciao Daniele,
>> essendo una mailing list italiana puoi scrivere tranquillamente in italiano ;-).
>> 
>> Non ho ben capito il tuo problema, typo3 è scritto in php e tu hai uno script in jsp dentro typo3 o stai cercando di accedere delle tabelle di typo3 da un codice jsp che esiste in un altro sito?
>> In questo caso hai controllato che i tuoi dati di accesso permettano l'accesso da ip non localhost?
>> 
>> Ciao
>> Federico
>> 
>> 
>> Il giorno 20/set/2010, alle ore 18.01, Daniele Zuco ha scritto:
>> 
>>  
>>> Hi
>>> I am this problem.
>>> I must write a table MySQL inside typo3 from a jsp script.
>>> So i have tried to connect using this connection string:
>>> jdbc:mysql://INDIRIZZOIP:3306/Agricoltura?user=usr1&password=
>>> but the connection failed.
>>> I know that MySQL has a own privileges management but i cannot change its tables (host, db, user of the database named mysql).
>>> The question are: Is it possibleto write a jsp script in order to reach musql/typo3 database? If yes what i have to do in order to reach this goal?
>>> thanks a lot
>>> dz
>>> _______________________________________________
>>> TYPO3-UG-Italy mailing list
>>> TYPO3-UG-Italy at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-italy
>>>    
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> TYPO3-UG-Italy mailing list
>> TYPO3-UG-Italy at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-italy
>> 
>>  
> 
> _______________________________________________
> TYPO3-UG-Italy mailing list
> TYPO3-UG-Italy at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-italy



More information about the TYPO3-UG-Italy mailing list