Skip to content
Snippets Groups Projects
Select Git revision
  • 399597949a749d6ecf90f907a29d720029364f64
  • main default protected
  • threads
3 results

SwitchCommands.py

Blame
    • rick.mollard's avatar
      39959794
      new file: CampusSelector.py · 39959794
      rick.mollard authored
      	new file:   ConfigChecker.py
      	new file:   SwitchCommands.py
      	new file:   __pycache__/CampusSelector.cpython-310.pyc
      	new file:   __pycache__/ConfigChecker.cpython-310.pyc
      	new file:   __pycache__/FindLinkTransitions.cpython-310.pyc
      	new file:   __pycache__/PortFlipper.cpython-310.pyc
      	new file:   __pycache__/SwitchCommands.cpython-310.pyc
      	modified:   findfails.py
      	new file:   greaterNebraska.txt
      	modified:   highTransitions.py
      	new file:   highTransitions.txt
      	new file:   main.py
      	modified:   unkSwitches-cx.txt
      	new file:   unlCitySwitches-cx.txt
      	new file:   unoSwitches-cx.txt
      39959794
      History
      new file: CampusSelector.py
      rick.mollard authored
      	new file:   ConfigChecker.py
      	new file:   SwitchCommands.py
      	new file:   __pycache__/CampusSelector.cpython-310.pyc
      	new file:   __pycache__/ConfigChecker.cpython-310.pyc
      	new file:   __pycache__/FindLinkTransitions.cpython-310.pyc
      	new file:   __pycache__/PortFlipper.cpython-310.pyc
      	new file:   __pycache__/SwitchCommands.cpython-310.pyc
      	modified:   findfails.py
      	new file:   greaterNebraska.txt
      	modified:   highTransitions.py
      	new file:   highTransitions.txt
      	new file:   main.py
      	modified:   unkSwitches-cx.txt
      	new file:   unlCitySwitches-cx.txt
      	new file:   unoSwitches-cx.txt
    INSTALL.mysql.txt 1.42 KiB
    
    CREATE THE MySQL DATABASE
    --------------------------
    
    This step is only necessary if you don't already have a database set up (e.g.,
    by your host). In the following examples, 'username' is an example MySQL user
    which has the CREATE and GRANT privileges. Use the appropriate user name for
    your system.
    
    First, you must create a new database for your Drupal site (here, 'databasename'
    is the name of the new database):
    
      mysqladmin -u username -p create databasename
    
    MySQL will prompt for the 'username' database password and then create the
    initial database files. Next you must log in and set the access database rights:
    
      mysql -u username -p
    
    Again, you will be asked for the 'username' database password. At the MySQL
    prompt, enter the following command:
    
      GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER
      ON databasename.*
      TO 'username'@'localhost' IDENTIFIED BY 'password';
    
    where
    
     'databasename' is the name of your database
     'username@localhost' is the username of your MySQL account
     'password' is the password required for that username
    
    Note: Unless your database user has all of the privileges listed above, you will
    not be able to run Drupal.
    
    If successful, MySQL will reply with:
    
      Query OK, 0 rows affected
    
    If the InnoDB storage engine is available, it will be used for all database
    tables. InnoDB provides features over MyISAM such as transaction support,
    row-level locks, and consistent non-locking reads.