rename mysql-connector

This commit is contained in:
jomo
2014-05-17 00:14:40 +02:00
parent b7de342537
commit 0227c2071e
3 changed files with 7 additions and 2 deletions

View File

@@ -4,6 +4,8 @@ __plugin_mainclass__ = "foobar"
import sys
print("Loading RedstonerUtils...")
# damn pythonloader changed this...
sys.path += ['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/pymodules/python2.7', '/usr/lib/pyshared/python2.7']

View File

@@ -7,7 +7,7 @@ from java.lang import Class
# hacky code to add mysql-connector to java's classpath ('classPathHack')
jarfile = "lib/mysql-connector-java-5.1.14-bin.jar"
jarfile = "lib/mysql-connector.jar"
driver = "com.mysql.jdbc.Driver"
url = java.io.File(jarfile).toURL()

View File

@@ -4,9 +4,12 @@ from re import match
from com.ziclix.python.sql import zxJDBC
from helpers import *
from secrets import *
from secrets import *
from random import randrange
# table schema:
# string "uuid", limit: 32, null: false
# string "token", limit: 6, null: false