Missing Method in UsersController

You are seeing this error because the action function.mysql-connect is not defined in controller UsersController

Notice: this error is being rendered by the app/views/errors/missing_action.thtml view file, a user-customizable error page for handling invalid action dispatches.

Fatal: Create Method:

<?php
    class UsersController extends AppController
    {
        function function.mysql-connect()
        {

        }
    }
?>

in file : app/controllers/users_controller.php

Error: Unable to execute action function.mysql-connect in UsersController