Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions docs/db_sample/README.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@
*
* Filename $RCSfile: README.TXT,v $
*
* @version $Revision: 1.2 $
* @modified $Date: 2009/05/03 14:37:59 $ by $Author: franciscom $
* @version $Revision: 1.3 $
* @modified $Date: 2024/02/14 20:06:12 $ by $Author: dcoomber $
* @Author: francisco.mancardi@gmail.com
*
* rev:
*/
restore-postgres.bat: this bat will help you to restore postgres-testlinkAPI.sql backup
Remember that:
- you need to create DB before doing restore.
- you need may be to change user name


postgres-testlinkAPI.sql: Postgres PLAIN backup of a TL DB that can be used to test API Calls.
All php API samples must run without problems againts this DB.
Password for admin user: admin


testlink_sample.sql: MySQL TL sample DB
Password for admin user: admin


After restoring the DB dump, you'll need to grant execute permissions on the
`UDFStripHTMLTags` user-defined function in order for test case search to work.

The example below assumes that your database name is `testlink_sample` and
that your TestLink user is `testlink`:

```
use testlink_sample;
grant execute on function UDFStripHTMLTags TO 'testlink'@'%';
```
2 changes: 0 additions & 2 deletions docs/db_sample/restore-postgres.bat

This file was deleted.

Loading