MySQL database problems

Discussion in 'Bukkit Help' started by asbomine, Aug 8, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    asbomine

    I'm trying to set up LogBlock and it said that I need to set up a MySQL server so I found this guide on setting up MySQL DBs and I followed the guide but I haven't been able to get the plugin functioning.

    It gives me this error when I launch the bukkit server:

    14:53:57 [SEVERE] [LogBlock] [LogBlock] Error while fetching connection:
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'minecraft'



    There are these options in the LogBlock config and I don't know exactly what to do.

    mysql:
    user: bukkit
    port: 3306
    password: wordystuff
    host: 127.0.0.1
    database: minecraft



    Anyone have any idea on what I should try?
     
  2. Offline

    McLuke500

    Well it seems to of connected properly but is there even a database called minecraft? If not try using MySQL workbench to make one.
     
  3. Offline

    asbomine

    Issue resolved. Thank you!
     
  4. Offline

    jacklin213

    asbomine your config should be like this if your new to MySQL
    Code:
    mysql:
      user: root
      port: 3306
      host: localhost
      database: logblock
     
    
    unless u made ur own user and gave it a password
    have the database name as logblock so u know that its from logblock

    First of all do u have MySQL installed?
    if not download WAMP or phpAdmin
    wamp - http://www.wampserver.com/en/
    phpAdmin - http://www.phpmyadmin.net/home_page/index.php
    NOTE: Wamp comes with phpAdmin
     
Thread Status:
Not open for further replies.

Share This Page