MySQL Forums
Forum List  »  Italian

Database insesistente anche se l'ho creato???
Posted by: Marco Ricchi
Date: June 24, 2013 10:02AM

salve a tutti, sono alle prime armi e sto facendo le prime prove..
Ma neanche inizio e subito scopro qualcosa di incomprensibile.

In pratica tramite php voglio selezionare il databse che ho creato tramite phpMyAdmin.
Uso questo codice:

mysql_select_db("miodatabase") or die ("database non presente");

Non riesco a capire come mai mi esce sempre databse non presente. Eppure io l'ho creato e messo tutti i privilegi all'utente.

La cosa buffa è che se la selezione la faccio sul database TEST quello già presente dopo l'installazione di xampp allora va tutte bene -.-
Potete illuminarmi? perché è tutto il pomeriggio che faccio prove su prove creando nuovi database e non me li fa selezionare :-(

Options: ReplyQuote


Subject
Views
Written By
Posted
Database insesistente anche se l'ho creato???
1816
June 24, 2013 10:02AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.