![]() Apparently, WebMatrix 3 might not show MySQL databases created with PHP scripts automatically, but you can view databases created with scripts by creating a new MySQL database connection to the database of interest from the WebMatrix GUI. ![]() Why doesn't WebMatrix show my_db in the "Databases" section. It seems that I have found some sort of solution. You can write your own or get started with one of the popular open source applications that run in Windows Azure, such as Drupal, Joomla or WordPress. ![]() I get an error saying that "my_db" already exists. The newly introduced Windows Azure Web Sites and latest release of Microsoft WebMatrix provide a great way to create and host PHP + MySQL sites. I know that the database exists.because when I run the script above again with some extras- $con=mysqli_connect("localhost","xxxx","xxxxxxxx") Įcho "Database my_db created successfully" Įcho "Error creating database: ". ![]() When I click the "Databases" button in the lower left corner of the UI, all that is shown in the left pane is a "Starter PHP site" folder icon (for creating a MySQL databse for my site from the WebMatrix UI) and an "Other Connections" icon - but not the database created (my_db) after running the script above. This image shows what part of the program I'm talking about. WebMatrix is not showing a database created with the $sql="CREATE DATABASE my_db" script when I navigate to the "Databases" section in the program. I am experimenting with scripts in a site file called "Starter PHP site". I'm trying to code with PHP and MySQL in WebMatrix 3. I am new to WebMatrix and MySQL, and I need some assistance with an issue.
0 Comments
Leave a Reply. |