-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
74 lines (46 loc) · 2.16 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
ICON
------
Credit for the Piggybank picture and icon derived should be given to http://www.flickr.com/photos/annia316/
http://www.flickr.com/photos/annia316/201999076/
SWT ( NOT NEEDED )
------------------
Bug report asking for SWT support for maven, and a good explanation to get it working
https://bugs.eclipse.org/bugs/show_bug.cgi?id=199302
JTA
----
mvn install:install-file -Dfile=PATH_TO_JTA/jta.jar \
-DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar
Mac WIDGETS
------
URL: http://code.google.com/p/macwidgets/
mvn install:install-file -Dfile=PATH_TO_MACWIDGETS/mac_widgets-0.9.4/forms-1.2.1.jar \
-DgroupId=com.jgoodies -DartifactId=forms -Dversion=1.2.1 -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -Dfile=PATH_TO_MACWIDGETS/mac_widgets-0.9.4/mac_widgets.jar \
-DgroupId=com.jgoodies -DartifactId=mac_widgets -Dversion=0.9.4 -Dpackaging=jar -DgeneratePom=true
MySQL
------
- Create a directory where MySQL will store its databases. For example:
/home/user/.MySQLData.
- Create $HOME/.my.cnf file with a similar content to the following:
[mysqld]
datadir=/home/user/.MySQLData
Change the value of "datadir" to the directory created previously.
- cd /usr/local/mysql
- scripts/mysql_install_db
This will create "mysql" and "test" databases in the directory specified
by the previous "datadir" option.
Create a database
-----------------
- Start the MySQL server.
- Create a database with name "pennybank" and other with name "pennybank_test"
mysqladmin -u root create pennybank
mysqladmin -u root create pennybank_test
- Create a user with name "pennybank" and password "pennybank", and allow her/him to
access from local host.
mysql -u root
GRANT ALL PRIVILEGES ON pennybank.* to pennybank@localhost IDENTIFIED BY 'pennybank';
GRANT ALL PRIVILEGES ON pennybank_test.* to pennybank@localhost IDENTIFIED BY 'pennybank';
- Try to access to "pennybank" database as "pennybank" user with password "pennybank".
mysql -u pennybank --password=pennybank pennybank
- Shutdown the MySQL server.
mysqladmin -u root shutdown