Connecting to mysql server
Depending on the authentication method set on the server side in the auth.php configuration file, you will be either presented with the browser’s built-in authentication dialog, or the login screen for MyWebSql. In either case, you will have to provide the username and password given to you (if you are connecting to someone else’s server) or use the credentials that you usually use to connect to the database server.
If you are running mysql server on a different port than the default (3306), you will need to edit the ‘config/auth.php’ file in MyWebSQL installation folder and change the line that defines the server name and include the port along with the server name. FOr example, if your mysql server is running on port 3307, change the default line into the following to make it work:
define(‘AUTH_SERVER’, ‘localhost:3307′);
Once successfully authenticated, you will be either shown a list of databases that the connected user has access to, or the main MyWebSql interface, if there is only one database that the user has access to. If you have selected a database and want to change the database to another one, simply select it from the combo box provided on the main screen with the list of database names. Your session will start using the newly selected database from then on.





