Skip to content

Commit f2ecd28

Browse files
authored
Testlink 1.9.20 fixed db sample upgrade (#362)
* Removed references to deprecated / deleted PostgreSQL dump * Renamed MySQL DB dump to align with docs * Updated sample DB to TestLink 1.9.20 fixed * Included the user-defined function in the dump * Added instructions to resolve issue with test case search failing (EXECUTE permissions needed on UDFStripHTMLTags)
1 parent f73aa62 commit f2ecd28

4 files changed

Lines changed: 2322 additions & 1344 deletions

File tree

docs/db_sample/README.TXT

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,23 @@
44
*
55
* Filename $RCSfile: README.TXT,v $
66
*
7-
* @version $Revision: 1.2 $
8-
* @modified $Date: 2009/05/03 14:37:59 $ by $Author: franciscom $
7+
* @version $Revision: 1.3 $
8+
* @modified $Date: 2024/02/14 20:06:12 $ by $Author: dcoomber $
99
* @Author: francisco.mancardi@gmail.com
1010
*
1111
* rev:
1212
*/
13-
restore-postgres.bat: this bat will help you to restore postgres-testlinkAPI.sql backup
14-
Remember that:
15-
- you need to create DB before doing restore.
16-
- you need may be to change user name
17-
18-
19-
postgres-testlinkAPI.sql: Postgres PLAIN backup of a TL DB that can be used to test API Calls.
20-
All php API samples must run without problems againts this DB.
21-
Password for admin user: admin
22-
13+
2314
testlink_sample.sql: MySQL TL sample DB
2415
Password for admin user: admin
25-
16+
17+
After restoring the DB dump, you'll need to grant execute permissions on the
18+
`UDFStripHTMLTags` user-defined function in order for test case search to work.
19+
20+
The example below assumes that your database name is `testlink_sample` and
21+
that your TestLink user is `testlink`:
22+
23+
```
24+
use testlink_sample;
25+
grant execute on function UDFStripHTMLTags TO 'testlink'@'%';
26+
```

docs/db_sample/restore-postgres.bat

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)