Does meta_query working with value paramater higher then 999?

I found solution by using type parameter in meta_query, set it to numeric. By default it is char and 1000 interpreted as string.

'meta_query'       => array(
    array(
    'key'      => 'wpcf-product-price',
    'value'    => array(0, 1000),
    'type'     => 'numeric',
    'compare'  => 'BETWEEN',
    ),
),

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)